exif-date
v2.1.0
Published
Parse an EXIF date string into a `Date` object
Downloads
4,415
Readme
Exif Date
Parse an EXIF date string into a
Date
object.
Installation
npm install exif-date --save
Usage
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'
License
Apache 2.0