povray
povray copied to clipboard
Pseudo-variable `now` does not work as intended on Linux machines.
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()
.
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.