项目作者: blakeembrey

项目描述 :
Parse an EXIF date string into a `Date` object
高级语言: TypeScript
项目地址: git://github.com/blakeembrey/exif-date.git
创建时间: 2016-08-14T06:49:43Z
项目社区:https://github.com/blakeembrey/exif-date

开源协议:Other

下载


Exif Date

NPM version
NPM downloads
Build status
Test coverage

Parse an EXIF date string into a Date object.

Installation

  1. npm install exif-date --save

Usage

  1. import { parse, format } from "exif-date";
  2. parse("2016:07:11 21:33:20"); //=> Date('2016-07-11T21:33:20.000Z')
  3. format(new Date("2016-07-11T21:33:20.000Z")); //=> '2016:07:11 21:33:20'

License

Apache 2.0