BinaryMuse / toml-node

TOML parser for Node.js and the Browser. Parses TOML v0.4.0
http://binarymuse.github.io/toml-node/
MIT License
306 stars 30 forks source link

Wrong dates? #29

Closed felixsanz closed 8 years ago

felixsanz commented 8 years ago

I'm trying to parse this:

createdAt = 2014-08-21T16:14:19Z
updatedAt = 2015-03-10T20:51:33Z
publishedAt = 2014-08-21T16:14:19Z

But i'm getting:

createdAt: Thu Aug 21 2014 18:14:19 GMT+0200 (CEST),
updatedAt: Tue Mar 10 2015 21:51:33 GMT+0100 (CET),
publishedAt: Thu Aug 21 2014 18:14:19 GMT+0200 (CEST),

Why that CEST / CET difference?

felixsanz commented 8 years ago

nvm, it's the DST. sorry!