iso8601-validator
v1.0.1
Published
Validate ISO-8601 strings
Downloads
9,419
Readme
iso8601-validator
Easily validate your ISO-8601 strings:
var iso8601 = require('iso8601-validator')
// it's just a RegExp
iso8601.test('2015-06-10T10:40:38.974Z') // => true
iso8601.test('asdf') // => false