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>
Then the card displays this:
[image: Screenshot 2023-05-16 at 10.31.41.png]
But I want the time to be displayed before the day / date, i.e Issued at
09:00 Tue 16
On Tuesday, May 16, 2023 at 12:05:55 AM UTC+1 vince wrote:
> https://weewx.com/docs/customizing.htm#formatting_options
>
> On Monday, May 15, 2023 at 2:20:56 AM UTC-7 Rory Gillies wrote:
>
>> I know there must be an easy answer to this but it's eluding me at the
>> moment! I use the Neowx-Material skin and have created a custom Zambretti
>> forecast card using the Weewx Forecast extension on the index.html page
>> which looks like this:
>>
>> [image: Screenshot 2023-05-15 at 10.13.50.png]
>>
>> The code that displays the "Issued at" value is:
>>
>> <div class="col-3 text-muted font-small indigo-text">
>> Issued at <br>
>>
>> $forecast.zambretti.issued_ts.format($Extras.Formatting.datetime_today)
>> </div>
>>
>> What I want it to read is "Issued at 09:00 on Monday 15" (using today as
>> an example) but I can't seem to find the correct syntax. Any ideas?
>>
>> Thanks in advance!
>>
>
--
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/10cc58a3-e4e4-4712-8d97-beb29f756d16n%40googlegroups.com.