Skip to content

Conversation

@patari
Copy link
Contributor

@patari patari commented Mar 2, 2016

Currently moment value is initialized from Date object which is always in local timezone. With this change moment value is initialized with array constructor which uses timezone currently set for moment (http://momentjs.com/docs/#/parsing/array/). By default timezone is local (i.e. functionality is same as before), but may be changed with moment-timezone extension (http://momentjs.com/timezone/docs/#/using-timezones/default-timezone/).

aharbick added a commit to bidwrangler/angular-bootstrap-datetimepicker that referenced this pull request Sep 7, 2016
@dalelotts dalelotts merged commit 79050c3 into dalelotts:develop Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants