devongovett / exif-reader

A small EXIF image metadata reader
MIT License
145 stars 22 forks source link

Possible to parse dates as UTC? #3

Closed blakeembrey closed 8 years ago

blakeembrey commented 8 years ago

Currently dates are always parsed in the local timezone, but since that changes it's unlikely to be what you'd actually want. Would you be willing to accept a PR for working with dates in UTC so it'd always serialise to the same time across timezones?

Relevant source code: https://github.com/devongovett/exif-reader/blob/master/index.js#L132-L149