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/CAPq0zEA2B66f5_S-_U6gEBYZ5vdLcGmPB%3DiP41Bqw4wEGw0b-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to