Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32858
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2017-03-28 08:16 -0700 |
| References | (1 earlier) <XnsA73F6AEC27BFBeejj99@194.109.6.166> <b0cfdd26-6767-4f46-abf1-124b6351ac38@googlegroups.com> <914e2a3b-168b-49ab-bde2-86e18481cd1f@googlegroups.com> <30a6a5ee-5c62-43e3-b3e7-062d92654269@googlegroups.com> <XnsA744B41029B6Deejj99@194.109.6.166> |
| Message-ID | <d8ec92e0-3fb6-485a-aaa8-18d25fa95f37@googlegroups.com> (permalink) |
| Subject | Re: Another JScript date/time bug, it seems |
| From | Dr J R Stockton <J.R.Stockton@physics.org> |
On Sunday, March 26, 2017 at 4:42:29 PM UTC+1, Evertjan. wrote: > Dr J R Stockton <J.R.S......n@phisycs.awg> wrote on 26 Mar 2017 in > comp.lang.javascript: > > Retested on all four PCs on Sunday afternoon. Results are now correct. > > Would this have helped, I use it serverside for servers in Toronto: > > let timeZoneOffsetHours = new Date().getTimezoneOffset()/60; I've put it on (with /-60 - the cack-handed US programmers should have programmed it as offset *from* GMT) - but it only helps for those who know what their offset should be and I think the error is made more obvious by showing the times. Readers be aware that, although Brazil mostly changes the clocks in Spring and Autumn with dates given by rules like ours, there is a one-week postponement every few years in places like Sao Paulo. Microsoft may not know that. -- (c) John Stockton, near London, UK. Using Google, no spell-check. | Mail: J.R.""""""""@physics.org |
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-20 16:42 -0700
Re: Another JScript date/time bug, it seems "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-21 10:30 +0100
Re: Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-21 12:29 -0700
Re: Another JScript date/time bug, it seems Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-03-22 09:09 +0100
Re: Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-22 02:13 -0700
Re: Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-23 09:22 -0700
Re: Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-26 05:45 -0700
Re: Another JScript date/time bug, it seems "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-26 17:42 +0200
Re: Another JScript date/time bug, it seems Dr J R Stockton <J.R.Stockton@physics.org> - 2017-03-28 08:16 -0700
Re: Another JScript date/time bug, it seems Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-03-21 16:37 +0100
csiph-web