poblabs/weewx-belchertown

"Last Updated" changing to Day - Month and 24 hour clock

ebnerjoh opened this issue · 2 comments

Hi,

Would it be possible to adopt the "Last Updated" value to European Style?`

From: Last Updated Januar 18, 2019 at 07:20
To: Last Updated 18. Januar 2019 at 19:20

Br,
Johannes

There's no option built in right now to address that.

You'd have to edit the file yourself. You can find that here https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/index.html.tmpl#L389

It uses moment.js string formats so refer to their guide on the right strings to use for the datestamp you want.

Once you've changed it, restart weewx and wait for an archive interval for it to update.

Latest commit referenced here would close this.

I'm working on the time format to be in the station's locale. This is step 1.

For example in the de locale time format:

image