Pol,
I just figured out the issue. Problem is that safari on iPhone/iPad doesn’t support dateString format that you are providing. Please refer this thread for various solutions available.
Simplest solution would be to replace – with /
So “2014-01-21 11:52:34” would become “2014/01/21 11:52:34”
—
Sunil Urs