Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

utc(Number) not working #323

Closed
tonyka opened this Issue · 1 comment

2 participants

@tonyka

Example

moment.utc(1338499506000);

Result

{ _d: Invalid Date, _isUTC: true }

@timrwood
Owner

Ah yes, so it is. Try using moment(1338499506000).utc() instead. The fix will go out in the 1.7.0 release.

@tonyka tonyka closed this
@timrwood timrwood referenced this issue
Closed

1.7.0 Changelog #288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.