[Webkit-unassigned] [Bug 6323] New: JS Date object should be more self-dependent
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sun Jan 1 09:41:42 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6323
Summary: JS Date object should be more self-dependent
Product: WebKit
Version: 412+
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: jhaygood at spsu.edu
It appears that being dependent on OS structures is actually a limitation of the
current date_object limitation. For instance, we can't calculate dates prior to
Jan 1 1970 without crashing on Windows, and even if reimplement that function,
formatting dates can't be done for dates prior to Jan 1 1900, due to limitations.
Perusing the Spidermonkey sources (
http://lxr.mozilla.org/seamonkey/source/js/src/jsdate.c ), I have learned that
they implement everything, and only use operating system libraries to calculate
the following:
- Current Time in Milliseconds
- Time Zone Offset
- Daylight Savings Offset for a given Timezone
- Used for Date.toLocaleString()
- Get a String representing the timezone.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list