-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
⌛⌛⌛ duration:longThere goes your week-endThere goes your week-end☕☕ difficulty:mediumHard to fixHard to fix
Description
DOMTimeStamp has a few questionable things I was hoping to get cleared up:
- Because it's
unsigned long long
, it cannot represent dates before 1970. Is that a desired property for a timestamp? - It says that it can be either absolute or relative. Do any specs use it for relative timestamps? I have not found any in a quick Google search.
- Why does it exist? This is probably part of a larger conversation regarding the utility of WebIDL's various number types, but, it was pretty confusing to find DOMTimeStamp when I could have just found
unsigned long long
(or ideallynumber
, which would fix the 1970 restriction).
I'd love to discuss the general problem of number types in WebIDL after I've had time to put together a more concrete proposal, but I am wondering if there's anything we can do to clean up the DOMTimeStamp corner of this mess.
ExE-BossExE-Boss
Metadata
Metadata
Assignees
Labels
⌛⌛⌛ duration:longThere goes your week-endThere goes your week-end☕☕ difficulty:mediumHard to fixHard to fix