There is not. The reason is that it would require either Python V3.9,
and/or another pre-requisite, tzdata.
Still, it might be possible to make it optional, similar to how pyephem is
dealt with. That would allow something like
$current.dateTime.tz("LMT")
This is something I've thought of frequently, but you're the first person
who has actually asked about it!
-tk
On Tue, Feb 16, 2021 at 1:39 PM Karen K <[email protected]> wrote:
> Is there a possibility to format the dateTime value that is shows the time
> in another time zone, for example UTC or local mean time (LMT)?
>
> Example (for Central European Time and longitude=13.040°):
>
> $current.dateTime.raw ==> 1622502001
>
> $current.dateTime.format(...) ==> 01.06.2021 01:00:01 CEST
>
> ?? ==> 31.05.2021 23:00:01 UTC
>
> ?? ==> 31.05.2021 23:52:11 LMT
>
>
> --
> 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/165ff6e6-19a4-4d86-90f5-85bd83a32f8en%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/165ff6e6-19a4-4d86-90f5-85bd83a32f8en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAPq0zEAq2R2w7pO7dDgTRS%3D7mFrbZtUBrb6iYbPDU3n3qhj5Fg%40mail.gmail.com.