Package Exports
- exif-date
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 (exif-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Exif Date
Parse an EXIF date string into a
Dateobject.
Installation
npm install exif-date --saveUsage
import { parse, format } from 'exif-date'
parse('2016:07:11 21:33:20') //=> Date('2016-07-11T21:33:20.000Z')
format(new Date('2016-07-11T21:33:20.000Z')) //=> '2016:07:11 21:33:20'P.S. Also parses sub-second precision and timezone offsets.
License
Apache 2.0