QuantumMechanics / NEM-sdk

NEM Developer Kit for Node.js and the browser
MIT License
137 stars 82 forks source link

I’m assuming that nemesis is wrong. #15

Closed 44uk closed 7 years ago

44uk commented 7 years ago
let nemesis = Date.UTC(2015, 2, 29, 0, 6, 25);

https://github.com/QuantumMechanics/NEM-sdk/blob/master/src/utils/format.js#L36

The date nemesys block is "2015-03-29 00:06:25" http://chain.nem.ninja/#/block/1

evias commented 7 years ago

from here : https://www.w3schools.com/jsref/jsref_utc.asp

Expected values are 0-11

44uk commented 7 years ago

I understood. Sorry for boring pointed out.