Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Make it respect the .utc() flag #4

Open
pyetras opened this issue Jan 17, 2014 · 0 comments
Open

Make it respect the .utc() flag #4

pyetras opened this issue Jan 17, 2014 · 0 comments

Comments

@pyetras
Copy link

pyetras commented Jan 17, 2014

scope.range = moment().range(moment.utc("2012-10-10"), ...);

...

scope.$watch "range", (n, o) ->
  scope.range.start #this is now in local timezone - hour is always set to 12PM, whilst for example in moment.utc("2012-10-10").startOf("day") it is at 1AM in GMT +1
@hodak hodak added the wontfix label Aug 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants