We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import moment from 'moment-timezone'; import tk from 'timekeeper'; tk.freeze(moment('2020-06-19T20:00:00-04:00').toDate()); console.log('now=',moment().format()); const eight_pm_today = moment.tz('8:00 PM', 'h:mm A', 'America/New_York'); console.log('eight_pm_today=',eight_pm_today.format());
now= 2020-06-19T20:00:00-04:00 eight_pm_today= 2020-06-20T20:00:00-04:00
now= 2020-06-19T20:00:00-04:00 eight_pm_today= 2020-06-19T20:00:00-04:00
(eight_pm_today is showing as the 20th rather than the 19th)
The text was updated successfully, but these errors were encountered:
This is a duplicate of #874 (well the other way around, but I already commented on the other one ;-))
Sorry, something went wrong.
No branches or pull requests
Repro steps:
Result:
Expected Result:
(eight_pm_today is showing as the 20th rather than the 19th)
The text was updated successfully, but these errors were encountered: