Skip to content
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

zone setter can now skip adjusting the hour #1468

Merged
merged 1 commit into from
Feb 6, 2014

Conversation

ichernev
Copy link
Contributor

@ichernev ichernev commented Feb 6, 2014

When you change the zone you'd expect the time to remain the same, but if
you're doing something low-level you might want just the zone offset to change.

Add a second argument to zone that would allow the caller to disable adjusting
the hour when setting a zone.

I'll make a corresponding PR in the moment-timezone repo.

When you change the zone you'd expect the time to remain the same, but if
you're doing something low-level you might want just the zone offset to change.

Add a second argument to zone that would allow the caller to disable adjusting
the hour when setting a zone.
@icambron
Copy link
Member

icambron commented Feb 6, 2014

For some reason, I thought we'd already done this.

icambron added a commit that referenced this pull request Feb 6, 2014
@changelog
@section enhancement
@description zone setter can now skip adjusting the hour
@icambron icambron merged commit c70beab into moment:develop Feb 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants