Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32954

Is Date.prototoype.toString always en-us?

Newsgroups comp.lang.javascript
Date 2017-04-06 16:17 -0700
Message-ID <ef8a2a84-de5e-4e9a-89fc-3144b262150c@googlegroups.com> (permalink)
Subject Is Date.prototoype.toString always en-us?
From RobG <rgqld@iinet.net.au>

Show all headers | View raw


In the MDN documentation for *Date.prototype.toString*[1] is the claim that:

> "The toString() method always returns a string representation of the date in American English."

Noting that the documentation is primarily for Mozilla browsers, can someone confirm that in, say, Firefox, that Date.prototype.toString returns a string in US English, regardless of the default language of the host system?

Also, whether this statement is true for other browsers where the default language is other than English?

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString

-- 
RobG

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


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