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
There is a bug in formatISO9075 in retrieving the date. It retrieves the day of the week instead. See this fix:
export const formatISO9075 = (date: Date): string => { const y = date.getUTCFullYear().toString() const m = (date.getUTCMonth() + 1).toString().padStart(2, '0') const d = date.getUTCDate().toString().padStart(2, '0') const h = date.getUTCHours().toString().padStart(2, '0') const min = date.getUTCMinutes().toString().padStart(2, '0') const sec = date.getUTCSeconds().toString().padStart(2, '0') const ms = date.getUTCMilliseconds().toString() return `${y}-${m}-${d} ${h}:${min}:${sec}.${ms}` }```
The text was updated successfully, but these errors were encountered:
I just found this the hard way too :-(
Sorry, something went wrong.
No branches or pull requests
There is a bug in formatISO9075 in retrieving the date. It retrieves the day of the week instead. See this fix:
The text was updated successfully, but these errors were encountered: