2.1.0 • Published 4 years ago

exif-date v2.1.0

Weekly downloads
99
License
Apache-2.0
Repository
github
Last release
4 years ago

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