This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21368 - MakeDate(day,time) unclear
Summary: MakeDate(day,time) unclear
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: JavaScript (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: Unsorted
Assignee: Mathias Bynens
QA Contact: sideshowbarker+javascript
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 23:53 UTC by Jim Michaels
Modified: 2014-06-21 12:52 UTC (History)
1 user (show)

See Also:


Attachments

Description Jim Michaels 2013-03-21 23:53:24 UTC
MakeDate(day,time) in ecmascript 262 15.9.1.13 does not define what exactly is a day Number and what is a time Number. there are no Semantics regarding these numbers as to how to build one, what they mean. 

for example: are they TimeClips?
Comment 1 Jim Michaels 2013-03-22 00:04:16 UTC
day appears to be a day number. 
what is its epoch, if any? 
can it be negative (I ask this because Date can handle extended 6-digit +/- year date format)?
is the time the number of milliseconds, or is it a TimeClip (what is it)?
Comment 2 Mathias Bynens 2014-06-21 12:52:34 UTC
This is outside the scope of the JavaScript / Web ECMAScript spec. See <http://javascript.spec.whatwg.org/#goals>.

To propose new features to the ECMAScript language, please file a bug on https://bugs.ecmascript.org/.