Dr said:
Never assume that, just because American-originated software often works
correctly for Americans in America, that it works equally correctly, or
even consistently, otherwise.
Eh?
As it was well explained to you, Last-Modified content header has a
well specified and internationally accepted format. A quick check
across domains would show it to you:
(using AjaxToolbox from <
http://www.ajaxtoolbox.com>,
getResponseHeader, time is replaced for consistency)
http://www.merlyn.demon.co.uk/index.htm
Last-Modified: Wed, 16 Nov 2005 HH:MM:SS GMT
document.lastModified: 11/25/2005 HH:MM:SS
http://www.geocities.com/schools_ring/ArrayAndHash.html
Last-Modified: Fri, 25 Nov 2005 HH:MM:SS GMT
document.lastModified: 11/25/2005 HH:MM:SS
The content header is uniform trasport format, and
document.lastModified is set based on this header using your system
locale. You don't need to bother what format for Content-Header is used
as you don't need to bother how many bytes contained in TCP/IP packets
used do deliver this particular page.
That's really ...stupid to try to find a national issues in a
*transport format*. Yes, Internet (Arpanet) was originally made by
Americans and for Americans so you cannot blame on them that used their
standards and not say Chinese Lunar Calendar (no offense to China). But
as it was said, transport format is used only to deliver data to
client, so computer could use a known pattern to re-format it. Unless
you specially apply yourselve you will never see the original transport
form.
So concerning year 2005 which becomes year 1005 or so on "your"
computer: it's time to reinstall ;-)