exif-date
v2.1.1
Published
Parse an EXIF date string into a `Date` object
Downloads
7,993
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'License
Apache 2.0
