commonjs-utils
commonjs-utils copied to clipboard
json-ext: greedy dates
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