danieltmbr / JsonCodeGenerator

A tiny javascript, which generate DTO classes in SWIFT from JSON.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date parsing

danieltmbr opened this issue · comments

Javascript Date.parse('dateString', 'format') parse not only with the given format.
E.g.: "zipCode":"2000" shouldn't be an NSDate according to the given format (yyyy-MM-ddTHH:mm:ss.SSSZ).
I've tried Moment.js and Minifiedjs as well, with no luck.
I need help whit this one.