how is the date being put on the webpages?
On Monday, 15 July 2019 16:12:30 UTC+3, Kike .Asekas wrote:
>
> The current local time correctly.
>
> El lunes, 15 de julio de 2019, 15:07:45 (UTC+2), Thomas Keffer escribió:
>>
>> What do you get if you try
>>
>> python -c "import time; print time.strftime('%x %X')"
>>
>> -tk
>>
>> On Mon, Jul 15, 2019 at 4:56 AM Kike .Asekas <[email protected]> wrote:
>>
>>> Hello. I have a raspberry pi with raspbian. It have CEST+0200 timezone
>>> as reported by date +"%Z %z". If I type 'date' my local time is reported
>>> correctly, but in the reports of weewx the time is 2 hours later. I
>>> mean if it's 10:00 the webpages say 12:00.
>>> In python
>>> datetime.datetime.now() gives the current local time correctly
>>> and
>>> datetime.datetime.utcnow()gives 2 hours before correctly too.
>>> The database have the correct local time too.
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/649312fb-f97d-484e-9815-7b4f814a9e75%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/649312fb-f97d-484e-9815-7b4f814a9e75%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/c5cfa949-b4da-4ed5-bc46-ae3a689cb952%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.