You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
It's 1990-04-30, but it shows via amDateFormat 29 april 1990. So an incorrect date. Same for the day; it shows "zondag" (Sunday), but it should be Monday.
It happens by multiple dates in the past, so is it a bug in the amDateFormat somewhere?
When I remove moment-timezone as a dependency it shows it all correctly.. Why is this?
The text was updated successfully, but these errors were encountered:
Jaspur
changed the title
amDateFormat shows previous day of date
amDateFormat shows previous day of date while moment() does it correct
Jul 18, 2017
Jaspur
changed the title
amDateFormat shows previous day of date while moment() does it correct
amDateFormat showing formatted dates of day before when using with moment-timezone
Jul 18, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Code:
Result:
It's 1990-04-30, but it shows via amDateFormat 29 april 1990. So an incorrect date. Same for the day; it shows "zondag" (Sunday), but it should be Monday.
Timezone is configured correctly:
When I run it via the default
moment()
-function like this:It's showing it correctly:
It happens by multiple dates in the past, so is it a bug in the
amDateFormat
somewhere?When I remove
moment-timezone
as a dependency it shows it all correctly.. Why is this?The text was updated successfully, but these errors were encountered: