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
Minor issue: I would have expected the Status/Date H2 to use toLocaleDateString instead of toDateString. This means the default document.lastModified date is displayed incorrectly at least once per per (+- one day) unless you're in the GMT timezone.
The text was updated successfully, but these errors were encountered:
Actually, I don't use toDateString but a handrolled stringifier instead. Using the locale would not be correct anyway since it would match the local user's date rather than the date of the server. Using locale date would also produce results that are potentially different from the hardcoded dates when they are specified.
In general, document.lastModified is unreliable anyway, so we can't really do much better that I can tell.
Minor issue: I would have expected the Status/Date H2 to use toLocaleDateString instead of toDateString. This means the default document.lastModified date is displayed incorrectly at least once per per (+- one day) unless you're in the GMT timezone.
The text was updated successfully, but these errors were encountered: