I did some fiddling - this works for me...
In the template...
<span class='issued'>Issued at
$forecast.zambretti.issued_ts.format("%H:%M") on
$forecast.zambretti.issued_ts.format("%a %d")</span>
In the resulting html....
<span class='issued'>Issued at 19:55 on Tue 16</span>
On Tuesday, May 16, 2023 at 11:37:40 AM UTC-7 vince wrote:
> On Tuesday, May 16, 2023 at 2:34:28 AM UTC-7 Rory Gillies wrote:
>
> Thanks Vince, but that's the problem, it doesn't seem to adhere to the
> normal formatting options. If I change the code to this:
>
> <div class="col-3 text-muted font-small indigo-text">
> Issued at <br>
>
> $forecast.zambretti.issued_ts.format($Extras.Formatting.datetime.format("%H:%M
>
> %d-%b"))
> </div>
>
>
> You're going to have to provide all your customizations in order for
> anybody to hope to recreate your issue. That means your "custom Zambretti
> forecast card" at a minimum, probably including anything you did with the
> forecast extension if that's a separate customization
>
>
>
--
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/f230e267-ad6f-43ea-9f2e-d30066dbb59dn%40googlegroups.com.