Package Exports
- @arn4v/is-iso-date
- @arn4v/is-iso-date/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arn4v/is-iso-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-iso-date 
is-iso-date is a simple utility to check if a string is an ISO-compliant date.
Install
$ npm install is-iso-dateUsage
var isISODate = require( 'is-iso-date' );
console.log( isISODate( '2015-02-21T00:52:43.822Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43.822' ) ); // false
console.log( isISODate( '2015-02-21T00:52:43Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43' ) ); // false
console.log( isISODate( '2015-02-21T00:52Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52' ) ); // false
console.log( isISODate( '2015-02-21T00Z' ) ); // falseReference
This is basically just the regexp from this StackOverflow discussion wrapped in a tiny library with some tests: http://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime