You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First seen when using the block module and selecting 3 hours as the block duration. Doesn't appear to cause any bugs, but throws this console warning before the page refreshes.
Not a result of recent refactorings. Still happens using a commit from a month ago.
The text was updated successfully, but these errors were encountered:
Well, '3 hours' is an invalid date, so the warning is correct. It results in NaN if you try to retrieve any time elements.
NovemLinguae
changed the title
morebits: console warning "Invalid Morebits.date initialisation"
block: console warning "Invalid Morebits.date initialisation" when picking certain durations such as 3 hours
Dec 21, 2024
Looks like I should refocus this ticket on the block module rather than the morebits library. Done.
Looks like the block module is trying to initialize a relative time (3 hours) rather than an absolute time (December 21, 2024 @ 6AM) like it's supposed to.
Steps to reproduce
What happens?
What should have happened instead?
Notes
The text was updated successfully, but these errors were encountered: