Have you considered using a virtual machine? You could put weewx on a vm and set the time arbitrarily.
On Sat, Mar 21, 2020, 4:46 AM Thomas Keffer <tkef...@gmail.com> wrote: > (By "computer clock" I think he means what is in /etc/timezone, that is, > the 'local' time.) > > Unfortunately, this is not possible with the present architecture of > WeeWX. Issue #301 <https://github.com/weewx/weewx/issues/301> outlines > why. > > On Fri, Mar 20, 2020 at 8:09 PM John Kline <j...@johnkline.com> wrote: > >> For Unix/Linux, setting the clock to UTC is the norm and no tricks are >> needed to get WeeWX to show times in the local time zone. >> >> What OS are you running? If it is NOT Windows, try running the following >> command and reply with the output. >> >> timedatectl -a >> >> On Mar 20, 2020, at 7:33 PM, GCC Observatory <gccobservat...@gmail.com> >> wrote: >> >> >> Hello, >> >> Been using weewx for a while now and have always wondered if there's a >> way to configure it to generate reports that use local time (UTC-5 for me) >> when the PC clock is set to UTC. I'm asking because my weewx runs on the >> same PC as my observatory control software - I'd prefer to set the computer >> clock to UTC, but the last time I did that, it messed up the weewx >> reports. Can anyone tell me if it's possible to "trick" weewx into >> generating local time reports while keeping the computer clock set to UTC? >> >> Thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to weewx-user+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/53687f2e-30ed-418a-8ef7-cff65a4353be%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/53687f2e-30ed-418a-8ef7-cff65a4353be%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to weewx-user+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/6F04D87B-CA86-4FF7-9BE7-F040529F777D%40johnkline.com >> <https://groups.google.com/d/msgid/weewx-user/6F04D87B-CA86-4FF7-9BE7-F040529F777D%40johnkline.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zEA%2BLZ7%3DLNwo3d_Zf93e2-zEL9%2BXYH6uc8RMLDXOY1ud6A%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA%2BLZ7%3DLNwo3d_Zf93e2-zEL9%2BXYH6uc8RMLDXOY1ud6A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAA1SM20Wp2LYeF4S3T%2BoFi-n%2BBSzyC21sAmN%2BAzBBOSiZr7L-Q%40mail.gmail.com.