/exif-date

Parse an EXIF date string into a `Date` object

Primary LanguageTypeScriptOtherNOASSERTION

Exif Date

NPM version NPM downloads Build status Test coverage

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