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
Even a datestring with no time or timezone info is rendered incorrectly, date is offset.
See: https://codesandbox.io/s/naughty-lederberg-8dri33?file=/src/index.js
In the console I see "Nov 09"
The text was updated successfully, but these errors were encountered:
most likely because of the UTC offset in the Date object, see https://stackoverflow.com/questions/28344408/why-does-js-subtract-a-day-from-a-date-object-with-a-certain-format
Sorry, something went wrong.
Even a datestring with no time or timezone info is rendered incorrectly, date is offset. See: https://codesandbox.io/s/naughty-lederberg-8dri33?file=/src/index.js In the console I see "Nov 09"
I think the first input should be a date not a string. Try put a date into it. dateFormat(new Date(), "mmm dd");
dateFormat(new Date(), "mmm dd");
Closing due to inactivity.
No branches or pull requests
Even a datestring with no time or timezone info is rendered incorrectly, date is offset.
See: https://codesandbox.io/s/naughty-lederberg-8dri33?file=/src/index.js
In the console I see "Nov 09"
The text was updated successfully, but these errors were encountered: