POV-Ray : Newsgroups : povray.beta-test : Call to Arms: Datetime : Re: Call to Arms: Datetime Server Time
26 Oct 2021 23:58:29 EDT (-0400)
  Re: Call to Arms: Datetime  
From: Thomas de Groot
Date: 11 Aug 2021 08:13:42
Message: <6113bef6$1@news.povray.org>
I don't know if the following is answering your questions but anyway, 
these are the versions I have currently accessible on my laptop:

Using win10

v3.7.0 local time (daylight-saving): 13:36 datetime(now): 11:36:53Z

v3.8.0-alpha.9893777+av622.msvc14.win64 local time (daylight-saving): 
13:42 datetime(now): 11:42:52Z

v3.8.0-x.freetype.4+av723.msvc14.win64 local time (daylight-saving): 
13:47 datetime(now): 12:47:09Z

v3.8.0-beta.1+gh6.msvc14.win64 local time (daylight-saving): 13:51 
datetime(now): 11:51:38Z

v3.8.0-beta.2+gh7.msvc14.win64 local time (daylight-saving): 13:54 
datetime(now): 11:54:14Z

The third one is deviant. No idea about "boost version".

Thomas


Op 11-8-2021 om 13:08 schreef clipka:
> Folks,
> 
> regarding the `datetime(now)` issue, I need more information from you 
> folks, to make sure I'm not hunting a phantom.
> 
> 
> As far as I can tell, there may be as many as three variants of behavior 
> out there, with `datetime(now)` returning the current time as either...:
> 
> (A) UTC time,
> 
> (B) LOCAL time, properly respecting daylight savings time, or
> 
> (C) LOCAL time, IGNORING daylight savings time,
> 
> with all variants appending a literal "Z" (intended to indicate UTC, but 
> being bonkers in cases (B) and (C)).
> 
> 
> There are also two variants of the source code out there... well, 
> actually three by now:
> 
> (1) Some old boost-based source code;
> 
> (2) some newer C++11-based code; and
> 
> (3) a variant of (1) with a fix to enforce behavior (A).
> 
> 
> These variants were used in the following POV-Ray versions:
> 
> v3.7.0.0 - v3.8.0-alpha.10013324 (2019-01-14):
> Variant (1)
> 
> v3.8.0-alpha.10064268 (2019-02-19) - v3.8.0-alpha.11272893 (last alpha):
> Variant (2)
> 
> v3.8.0-beta.1:
> Variant (1) again
> 
> v3.8.0-beta.2:
> Variant (3)
> 
> 
> I need your help to test the different variants of the code (especially 
> (1) and (2)) on your machines, and let me know:
> 
> - What behavior you are observing for code variant (1);
> - what behavior you are observing for code variant (2);
> - what operating system you are using; and
> - what version of boost POV-Ray has been compiled with.
> 
> Bonus questions:
> 
> - Using genuine POV-Ray, have you ever, and beyond doubt, observed 
> behavior (B) during times when DST was in effect in your time zone?
> 
> 
> (Please disregard derivatives such as rpov in this test/poll. They have 
> no impact whatsoever on the question I'm eager to get answers to.)
> 
> 
> I have a hunch that I may have been looking in a completely wrong 
> direction in this matter.


-- 
Thomas


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.