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
I just pulled develop and now all posts will display an 'Invalid Date' just below the title
develop
I'm guessing (but have not tested) this is related to the latest 'local date' munging I saw flying by.
The error occurs in static/js/localdate.js:
static/js/localdate.js
var d = new Date(dateEl.getAttribute("datetime"));
value of the attribute was: 2019-03-05 13:12:54 +0100 CET which indeed gives an Invalid date if passed into the js Date() constructor
2019-03-05 13:12:54 +0100 CET
Invalid date
Date()
Anything I missed?
The text was updated successfully, but these errors were encountered:
Thanks for the report! Which browser is that in?
Sorry, something went wrong.
Firefox 72.0.2 arch linux
Fix date format in datetime attribute
datetime
50901d2
Previously, the date format in this attribute for posts was invalid. This caused local date rendering to fail in Firefox. This fixes that. Closes #253
Got it, thanks! Confirmed the bug and just patched in #254. Will get that merged soon.
Excellent!
Successfully merging a pull request may close this issue.
I just pulled
develop
and now all posts will display an 'Invalid Date' just below the titleI'm guessing (but have not tested) this is related to the latest 'local date' munging I saw flying by.
The error occurs in
static/js/localdate.js
:var d = new Date(dateEl.getAttribute("datetime"));
value of the attribute was:
2019-03-05 13:12:54 +0100 CET
which indeed gives anInvalid date
if passed into the jsDate()
constructorAnything I missed?
The text was updated successfully, but these errors were encountered: