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


Groups > comp.lang.javascript > #36553

Re: Opera browser, localisation of toLocaleString and of spell-check?

Newsgroups comp.lang.javascript
Subject Re: Opera browser, localisation of toLocaleString and of spell-check?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <e0405e6a-4af4-4e30-a954-3fbbb56d563e@googlegroups.com>
Date 2019-05-03 09:08 +0200
Message-ID <XnsAA445CFC9E61Feejj99@194.109.6.166> (permalink)

Show all headers | View raw


dr.j.r.stockton@gmail.com wrote on 02 May 2019 in comp.lang.javascript:

> I have three Windows 10 PCs, with Opera 60.0 update done today.
> Opera and Windows are set, as far as I know possible, for UK
> and for ISO 8601 date and time, YYYY-MM-DD hh:mm:ss 24-hr.
> 
> In one PC, using Opera, new Date().toLocaleString() gives a British
> date and 24-hour clock, :-) .  In the others, it gives a US date
> and AM/PM clock, :-( .
> 
> How do I rectify that?

Do not use these browser and locale dependent nonsense,
not in JS, not in VBS, not etc.,
and build your own date/time strings from scratch.

I just copy such scratch-functions from script to script,
and adapt them at will.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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


Thread

Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-02 11:56 -0700
  Re: Opera browser, localisation of toLocaleString and of spell-check? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-05-02 22:57 -0700
    Re: Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-03 04:10 -0700
      Re: Opera browser, localisation of toLocaleString and of spell-check? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-05-03 11:42 -0700
        Re: Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-04 05:26 -0700
  Re: Opera browser, localisation of toLocaleString and of spell-check? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-03 09:08 +0200
    Re: Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-03 04:11 -0700
      Re: Opera browser, localisation of toLocaleString and of spell-check? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-03 15:38 +0200
        Re: Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-03 11:39 -0700
          Re: Opera browser, localisation of toLocaleString and of spell-check? Flng Fck <nothanks@invalid.invalid> - 2019-05-06 09:28 +0200
            Re: Opera browser, localisation of toLocaleString and of spell-check? dr.j.r.stockton@gmail.com - 2019-05-06 02:36 -0700
              Re: Opera browser, localisation of toLocaleString and of spell-check? Flng Fck <nothanks@invalid.invalid> - 2019-05-06 12:31 +0200
              Re: Opera browser, localisation of toLocaleString and of spell-check? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-06 22:20 +0200

csiph-web