Re: [weewx-user] Re: Time Tags and UTC

2019-05-16 Thread Leon Shaner
We're all fine with the timestamps until 2038. ;-) https://en.m.wikipedia.org/wiki/Year_2038_problem Regards, \Leon -- Leon Shaner :: Dearborn, Michigan (iPad Pro) > On May 16, 2019, at 7:23 PM, gjr80 wrote: > > Hi, > > It was a deliberate decision for WeeWX to be timezone unaware, but > fo

[weewx-user] Re: Time Tags and UTC

2019-05-16 Thread Eric Mears
Gary, Thanks, I will give that a try. Eric On Thursday, May 16, 2019 at 4:23:29 PM UTC-7, gjr80 wrote: > > Hi, > > It was a deliberate decision for WeeWX to be timezone unaware, but > fortunately we can do some limited utc manipulation using some of the > inbuilt utc capabilities of the pyth

[weewx-user] Re: Time Tags and UTC

2019-05-16 Thread gjr80
Hi, It was a deliberate decision for WeeWX to be timezone unaware, but fortunately we can do some limited utc manipulation using some of the inbuilt utc capabilities of the python datetime module. In this case the easiest approach is likely just putting a little inline python code in your temp

[weewx-user] Re: Time Tags and UTC

2019-05-16 Thread Eric Mears
Hi Peter, I was looking at https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow but I couldn't figure out

[weewx-user] Re: Time Tags and UTC

2019-05-16 Thread p q
I imagine your Raspberry Pi is using UTC as its base time and using the time zone to display the local time. That's the standard way it's set up. I haven't tried it but you might be able to use the python function datetime.utcnow() https://docs.python.org/3/library/datetime.html#datetime.dateti