Sunday, 3 January 2016

Re: Javascript Date() function corrected?

Dave Higton, on 3 Jan, wrote:

> At some stage recently the Javascript Date() function appears to have
> been fixed. Previously, when DST was in force, the time was shown as
> 1 hour in advance (double correction).
>
> The attached is a short file to test it, and I would appreciate your
> feedback as to whether it now shows the correct time for everyone,
> with and without DST in force.
>
> There is a new RISC OS build CI #3249 today.

With #3250 on RPi2 OS5.23 (03-Jan-16).

Correct for both conditions.

*st. dst
AutoDST
*time
Mon,04 Jan 2016.07:25:59
*
Today is 2016-01-04 07:26:26.000+00:00

*co. dst
*time
Mon,04 Jan 2016.08:28:07
*
Today is 2016-01-04 08:28:21.000+01:00

--
David Pitt

No comments:

Post a Comment