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
Someone filed a support ticket because she was using month names. Timeline was using parseInt and ended up treating them all as January.
We should verify that month, date, and year are integers and log an error otherwise.
The text was updated successfully, but these errors were encountered:
Is this the problem?
https://github.com/NUKnightLab/TimelineJS3/blob/media-background/source/js/date/TL.Date.js#L115-L117
Basically, we should be distinguishing between an invalid input string and an empty input string?
Sorry, something went wrong.
yeah, i think instead of isNaN it could be something like
var x = TL.Util.trim(_date[DATE_PARTS[ix]]); if (!x.match(/^\d*$/)) { //error else parse it and store it
db4bcbc
this was made live in 3.3.9 but the issue wasn't closed
No branches or pull requests
Someone filed a support ticket because she was using month names. Timeline was using parseInt and ended up treating them all as January.
We should verify that month, date, and year are integers and log an error otherwise.
The text was updated successfully, but these errors were encountered: