$current.dateTime.format(format_string="%c") works nicely for me.....

Sat 07 Feb 2026 08:30:00 PM PST

On Saturday, February 7, 2026 at 7:43:08 PM UTC-8 Nate Bargmann wrote:

> I didn't use the %p/%P but I have this which appears at the top of my
> customized Standard kin:
>
> <h2>$current.dateTime.format(format_string="%a %d %b %Y %H:%M %Z 
> (%z)")</h2>
>
> The result is:
>
> Sat 07 Feb 2026 21:35 CST (-0600)
>
> I do a similar format for the images:
>
> bottom_label_format = %a %d %b '%y %H:%M %Z
>
> Which becomes:
>
> Sat 07 Feb '26 21:35 CST
>
> I guess since I opted for 24 hour time and adding the time zone I didn't
> see the issue you are.
>
> - Nate
>
> -- 
> "The optimist proclaims that we live in the best of all
> possible worlds. The pessimist fears this is true."
> Web: https://www.n0nb.us
> Projects: https://github.com/N0NB
> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/fe6d4259-676c-4793-94a2-7485a6f79db0n%40googlegroups.com.

Reply via email to