Re: [weewx-user] reports = local time & PC = UTC

2020-03-21 Thread p q
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  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  outlines
> why.
>
> On Fri, Mar 20, 2020 at 8:09 PM John Kline  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 
>> 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
>> 
>> .
>>
>> --
>> 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
>> 
>> .
>>
> --
> 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
> 
> .
>

-- 
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.


Re: [weewx-user] reports = local time & PC = UTC

2020-03-21 Thread Thomas Keffer
(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  outlines why.

On Fri, Mar 20, 2020 at 8:09 PM John Kline  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 
> 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
> 
> .
>
> --
> 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
> 
> .
>

-- 
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.


Re: [weewx-user] reports = local time & PC = UTC

2020-03-20 Thread John Kline
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  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.

-- 
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.


[weewx-user] reports = local time & PC = UTC

2020-03-20 Thread GCC Observatory
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.