New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date.fromTime is returning {} #516

Closed
akovari opened this Issue Mar 3, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@akovari

akovari commented Mar 3, 2016

In repl, but this doesn't work in neither Chrome nor in Firefox:

> import Date
> Date.fromTime 1461967200000
{} : Date.Date

This is calling Native.Date.fromDate which does just this:
new Date(1461967200000);

Not quite sure why but this doesn't seem to be working.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
Contributor

jvoigtlaender commented Mar 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment