Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32967
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Is Date.prototoype.toString always en-us? |
| Date | 2017-04-08 20:13 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <3000232.1N4lFRLu8V@PointedEars.de> (permalink) |
| References | <ef8a2a84-de5e-4e9a-89fc-3144b262150c@googlegroups.com> <English-20170407003413@ram.dialup.fu-berlin.de> <qM6dnVMmKJqEinXFnZ2dnUU7-NnNnZ2d@westnet.com.au> |
RobG wrote:
^^^^
Your real name belongs there.
> On 7/04/2017 09:34, Stefan Ram wrote:
>> RobG <rgqld@iinet.net.au> writes:
>>> Also, whether this statement is true for other browsers where
>>> the default language is other than English?
>>
>> I believe that in ECMAScript it returns an
>> implementation-dependent string value that represents the
>> date as a date and time in the current time zone using
>> »a convenient, human-readable form«.
>
> Yes, per ECMA-262, but question is about MDN, not ECMA-262.
You are proceeding from a false assumption. MDN is _not_ a documentation
“primarily for Mozilla browsers”.
However, if I install iceweasel-l10n-de=1:38.8.0esr-1~deb8u1, and execute
“LC_ALL=de_CH.UTF-8 iceweasel”, although the GUI now is in German,
(new Date()).toString()
still is in English ("Sat Apr 08 2017 20:…:… GMT+0200 (CEST)").
(new Date()).toLocaleString()
and
(new Date()).toLocaleString("de")
are not ("8.4.2017 20:…:…").
--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is Date.prototoype.toString always en-us? RobG <rgqld@iinet.net.au> - 2017-04-06 16:17 -0700
Re: Is Date.prototoype.toString always en-us? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-07 13:35 +0200
Re: Is Date.prototoype.toString always en-us? RobG <rgqld@iinet.net.au> - 2017-04-08 08:47 +1000
Re: Is Date.prototoype.toString always en-us? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-08 20:13 +0200
Re: Is Date.prototoype.toString always en-us? John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-09 11:58 +0100
Re: Is Date.prototoype.toString always en-us? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-09 15:54 +0200
Re: Is Date.prototoype.toString always en-us? Luuk <luuk@invalid.lan> - 2017-04-09 16:02 +0200
Re: Is Date.prototoype.toString always en-us? John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-09 16:51 +0100
Re: Is Date.prototoype.toString always en-us? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-09 18:09 +0200
Re: Is Date.prototoype.toString always en-us? John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-10 10:34 +0100
Re: Is Date.prototoype.toString always en-us? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-11 06:26 +0200
Re: Is Date.prototoype.toString always en-us? John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-11 18:38 +0100
Re: Is Date.prototoype.toString always en-us? RobG <rgqld@iinet.net.au> - 2017-04-14 15:57 +1000
Re: Is Date.prototoype.toString always en-us? RobG <rgqld@iinet.net.au> - 2017-04-14 16:45 +1000
Re: Is Date.prototoype.toString always en-us? Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-04-10 21:16 +0100
Re: Is Date.prototoype.toString always en-us? Julio Di Egidio <julio@diegidio.name> - 2017-04-10 19:15 -0700
csiph-web