michaelrsweet / htmldoc

HTML Conversion Software
https://www.msweet.org/htmldoc
GNU General Public License v2.0
206 stars 46 forks source link

Question regarding timezone #485

Closed christophhalbi closed 2 years ago

christophhalbi commented 2 years ago

Hi (again),

Where does htmldoc take the current time from?

timedatectl
               Local time: Mon 2022-04-11 08:34:41 CEST
           Universal time: Mon 2022-04-11 06:34:41 UTC 
                 RTC time: Mon 2022-04-11 06:34:41     
                Time zone: Europe/Vienna (CEST, +0200) 
System clock synchronized: yes                         
              NTP service: active                      
          RTC in local TZ: no

I expect it to take it from Local time but on my machine it seems like it takes it from. Any option to control that?

michaelrsweet commented 2 years ago

The current HTMLDOC version uses UTC while the next release switches to local time.