commonjs-utils icon indicating copy to clipboard operation
commonjs-utils copied to clipboard

json-ext: greedy dates

Open dvv opened this issue 15 years ago • 0 comments

Hi! L35 of json-ext.js -- we aggressively convert any string which looks lile a valid ISO date to JS Date object, thus preventing from satisfying the recommended date format in json-schema: {type: 'string', format: 'date-time'} -- the latter simply has no chances to receive a valid ISO string

--dvv

dvv avatar Aug 04 '10 16:08 dvv