povray
povray copied to clipboard
Overhaul `datetime()` scene language function.
- Added
local_time BOOLglobal setting, defaulting tooff; when set toon,datetime()will now report local time instead of UTC. datetime()will now sanity-check the specified format string (unless the default is used), and generate various warnings if applicable.datetime()will now try to distinguish between a genuine error, a and non-error situation in which the result string just happens to be empty.LC_TIMElocale is now set someplace more sane.
Also, pushed back on the use of boost date_time library in favor of C++11 features.