Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: Dr J R Stockton <jrs@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jan 2009 14:02:27 +0000
In comp.lang.javascript message <I25boiGfd2fJFwlL@xxxxxxxxxxxxxxxxxxxxxx
8924D9443D28E23ED5CD>, Tue, 27 Jan 2009 19:58:23, John G Harris
<john@xxxxxxxxxxxxxxxxxx> posted:
On Mon, 26 Jan 2009 at 13:02:24, in comp.lang.javascript, Dr J R
Stockton wrote:
<snip>
That only needs a link to ISO 8601,<snip>
Isn't it time you admitted that ISO 8601 doesn't specify the format of
dates displayed to consumers. It may well contain some useful ideas but
it isn't compulsory for a date in the middle of a paragraph.
It's the only sensible way of displaying a date independent of language
and locale. There's nothing wrong in following the recommendations of a
well-written standard outside the realm for which the standard, overall,
is intended. The logic of 8061 can be applied, for example, in the
writing of non-Gregorian dates and times.
Incidentally, if the date/time is on its way to or from a database then
it's ISO 9075-2 that applies (the SQL standard).
The existence of the SQL format(s) should perhaps be mentioned; but it's
not entirely a satisfactory standard. It says "The surface of the earth
is divided into zones, called time zones, in which every correct clock
tells the same time, known as local time.", which is incorrect. So is,
from all else I have read, "sometimes, but very rarely, a particular
minute will contain exactly 59, 61, or 62 seconds.". From what I had
read when a 9075-2 PDF crashed FireFox, it does not seem worth
considering for the display of lastModified.
--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05.
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
.
- References:
- FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: FAQ server
- Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: Dr J R Stockton
- Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: Garrett Smith
- Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: Dr J R Stockton
- Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- From: John G Harris
- FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- Prev by Date: Re: Why does this work? (buttonref.form)
- Next by Date: Re: Problem creating a closure
- Previous by thread: Re: FAQ Topic - How do I format the lastModified date with javascript? (2009-01-12)
- Next by thread: comp.lang.javascript FAQ - Quick Answers 2009-01-12
- Index(es):
Relevant Pages
|