[Webkit-unassigned] [Bug 4363] document.lastModified format is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 7 06:49:46 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=4363


Syoichi Tsuyuhara <syoichi at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org,
                   |                            |darin at apple.com,
                   |                            |rniwa at webkit.org




--- Comment #8 from Syoichi Tsuyuhara <syoichi at outlook.com>  2012-12-07 06:52:12 PST ---
Only WebKit still has this bug about document.lastModified.

According to HTML Living Standard, document.lastModified should return the date and time in "local time zone".
>document.lastModified
>Returns the date of the last modification to the document, as reported by the server, in the form "MM/DD/YYYY hh:mm:ss", in the user's local time zone.
>If the last modification date is not known, the current time is returned instead.
http://html.spec.whatwg.org/multipage/dom.html#dom-document-lastmodified

On Windows 7 Home Premium SP1 64bit, IE 9.0.11 and Firefox 17.0.1, Opera 12.11 x64 correspond to this.
But WebKit r131444 and Chromium 25.0.1353.0 (171761) return a date and time in UTC(GMT).

screenshot: http://cache.gyazo.com/003b6a7437c790666e22dd375a068c55.png

related:
https://bugs.webkit.org/show_bug.cgi?id=8475
http://code.google.com/p/chromium/issues/detail?id=2400

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list