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

Make it respect the .utc() flag #4

@pyetras

Description

@pyetras
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions