Sorry.. i turns out the time is not offset (any more). I dont know 
why........ maybe something with the language setting which wasnt set 
permanently. Now it is.


Op dinsdag 29 september 2020 om 00:13:15 UTC+2 schreef Jos Bredek:

> Hi there,
>
> I've been using weewx (v4.1.1) for some months now, and did quit some 
> customization. I've been using neowx as a skin and figured out how to add a 
> menu item for my cam and how to hide the inside temp and humidity (privacy 
> issue). I also figured out how to get the timeinfo in regional format 
> (export LANG = ...)
> My site is here... https://weerstationgieten.bredek.nl
>
> Lately I installed the pyephem module. It gives a nice extra on my site... 
> however the time of set and rise of different objects is offset by 1 hour 
> ... 
> After some digging it turns out pyephem gives GMT timestamps, which makes 
> sense since that is an offset of 1 hour to my timezone (CET). The rest of 
> my site reports the localtime however. 
>
> To keeps things consistent i would like the time on set and rise in my own 
> time zone.
>
> Now.. i'm a bit puzzled where to do this. I figured i shouldn't touch 
> almanac.py. I guess it has to be somewhere in the template files then, 
> probably by making use of localtime()? Is this the right strategy? Anyone 
> already done the same?
>
> CIao,
> Jos
>

-- 
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/df880a56-6132-4f90-b652-dc8fa771820cn%40googlegroups.com.

Reply via email to