Skip to content

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

Open
ds1371dani wants to merge 1 commit into
fingerpich:masterfrom
ds1371dani:bugfix/leapYear_endOf
Open

🐞 FIX: endOf skips a day if the day of daylight saving time is chosen in leap year#132
ds1371dani wants to merge 1 commit into
fingerpich:masterfrom
ds1371dani:bugfix/leapYear_endOf

Conversation

@ds1371dani

Copy link
Copy Markdown

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

netlify Bot commented Jan 28, 2023

Copy link
Copy Markdown

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

netlify Bot commented Jan 28, 2023

Copy link
Copy Markdown

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