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

🐞 FIX: endOf skips a day if the day of daylight saving time is chosen in leap year #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ds1371dani
Copy link

For example following command results in wrong value:

moment("2021-03-22T01:01:30.452+04:30").endOf("day").format("jYYYY/jMM/jDD HH:mm")

Correct result: 1400/01/02 23:59
Current result (wrong): 1400/01/03 00:59

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for cocky-villani-6ba5c0 ready!

Name Link
🔨 Latest commit e3b6958
🔍 Latest deploy log https://app.netlify.com/sites/cocky-villani-6ba5c0/deploys/63d4ef54c6c7830008771f7f
😎 Deploy Preview https://deploy-preview-132--cocky-villani-6ba5c0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for silly-euler-c88151 ready!

Name Link
🔨 Latest commit e3b6958
🔍 Latest deploy log https://app.netlify.com/sites/silly-euler-c88151/deploys/63d4ef545f96af0009a63140
😎 Deploy Preview https://deploy-preview-132--silly-euler-c88151.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

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.

1 participant