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 21371 - Date.prototype.set...() methods sets RTC or no?
Summary: Date.prototype.set...() methods sets RTC or no?
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-22 07:01 UTC by Jim Michaels
Modified: 2014-06-21 12:52 UTC (History)
1 user (show)

See Also:


Attachments

Description Jim Michaels 2013-03-22 07:01:54 UTC
it is not stated in the javascript/ecmascript 262 specification whether or not the Date.prototype.set...() methods actually change the real time clock of the computer or not, or whether that applies only to the Date object itself. it would be very nice if this were clear. I would assume that since it is the purpose of the base javascript language to not mess with the machine, that it does not mess with the Real Time Clock. 

but average user reading the specification might not know this, and might fear to use it. or they may hope it will when it doesn't.
Comment 1 Mathias Bynens 2014-06-21 12:52:57 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/.