Closed
Bug 512037
Opened 16 years ago
Closed 7 years ago
Request: ability to set timezone for a Context
Categories
(Rhino Graveyard :: Core, enhancement)
Rhino Graveyard
Core
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: mikeharm, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 GTBDFff GTB6 (.NET CLR 3.5.30729)
Build Identifier:
The Rhino implementation of NativeDate uses a lot of statics, and gets the timezone from the JVM. But for use running user code server-side, it would be much better if the timezone could be set by a user profile or preference for an execution context.
Reproducible: Always
Steps to Reproduce:
1. var d = new Date();
2. d.toString() prints Fri Aug 21 2009 19:46:28 GMT-0700 (PDT)
it would be nice if it could print in the user's local timezone (and if d.setHours could use an hour representation for the user's timezone, not the jvm's)
Comment 1•7 years ago
|
||
Closing. Bug management is now done here:
https://github.com/mozilla/rhino
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•