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
Describe the bug
Hey! Just first things first I want to say thanks for the library. Our team is in the process of getting rid of momentJS across the whole app and we are attempting to convert fully over to dayJS but ran into this issue today.
In Moment-Timezone you can pass a timestamp as follows using the Zulu format and an olson timezone to convert a date.
Expected behavior
I would expect the output of dayJS and MomentJS this to be the same given the same input. There might be a DayJS Method we could use to get the same result but I am currently unaware of it.
Information
Day.js Version: 1.9.7
OS: Mac OS Mojave 10.14.6
Browser [e.g. chrome 62]
Time zone: US Eastern Standard Time (EST -5:00)
The text was updated successfully, but these errors were encountered:
Describe the bug
Hey! Just first things first I want to say thanks for the library. Our team is in the process of getting rid of momentJS across the whole app and we are attempting to convert fully over to dayJS but ran into this issue today.
In Moment-Timezone you can pass a timestamp as follows using the Zulu format and an olson timezone to convert a date.
DayJS appears to be ignoring the "Z" formatting:
Expected behavior
I would expect the output of dayJS and MomentJS this to be the same given the same input. There might be a DayJS Method we could use to get the same result but I am currently unaware of it.
Information
The text was updated successfully, but these errors were encountered: