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

isDST() returns incorrect results when using add or subtract #663

Open
brmc opened this issue Aug 6, 2018 · 1 comment
Open

isDST() returns incorrect results when using add or subtract #663

brmc opened this issue Aug 6, 2018 · 1 comment
Labels

Comments

@brmc
Copy link

brmc commented Aug 6, 2018

When modifying a moment object using the methods in the title, if the new datetime crosses into or out of DST, isDST() returns the original result

Fiddle: http://jsfiddle.net/emsnawy7/1/

@gilmoreorless
Copy link
Member

Seems related to the underlying bug causing #409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants