Closed steph643 closed 9 years ago
The first one seems to be a bug, I'll look into it.
The second is a unix epoch, which you can convert into a Date with new Date(TimeSync.serverTime(...))
Since the date is calculated by adding an offset to an epoch, I decided not to construct a new date automatically. But that could be changed...
Thanks a lot. In my opinion, there is no need for serverTime() to return a Date object as long as you put your explanation in the doc.
This is now fixed in the (just released) 0.3.1.
Works well, thanks!
Here is what I get:
Am I not supposed to get a Date?
(dammit, I keep forgetting I am a programmer!)