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
The base date-fns package lets you parse an incomplete date string using a format and a reference time. For example:
parse('15:00', 'HH:mm', new Date()); // Today at 15:00 in the local browser's timezone
What if I want to do the same but instead of using the local browser's timezone, I want to use a specific IANA timezone name like US/Central?
US/Central
Similar to day.js's tz parse: https://day.js.org/docs/en/timezone/parsing-in-zone
dayjs.tz("12-25-1995", "MM-DD-YYYY", "America/Toronto")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The base date-fns package lets you parse an incomplete date string using a format and a reference time. For example:
What if I want to do the same but instead of using the local browser's timezone, I want to use a specific IANA timezone name like
US/Central
?Similar to day.js's tz parse: https://day.js.org/docs/en/timezone/parsing-in-zone
The text was updated successfully, but these errors were encountered: