povray icon indicating copy to clipboard operation
povray copied to clipboard

Pseudo-variable `now` does not work as intended on Linux machines.

Open c-lipka opened this issue 3 years ago • 1 comments

On Linux machines, the value returned by now may be based on local time, instead of UTC as documented and intended.

This is due to an undocumented issue in boost::posix_time::microsec_clock::universal_time().

c-lipka avatar Jul 29 '21 12:07 c-lipka

Technically, this issue is fixed in v3.8.0, to be released in v3.8.0-beta.2.

However, the bug has highlighted the shortcomings of the current design, in that the typical use cases for the datetime function would be better catered to by a local time based solution. A mechanism should be devised to make local time output available as an intentional feature.

c-lipka avatar Aug 09 '21 00:08 c-lipka