neoground / neowx-material

Revamp WeeWX with Neowx-Material, a modern Material Design skin offering a sleek, responsive UI, captivating graphs & advanced features.
https://neoground.com/projects/neowx-material
MIT License
53 stars 28 forks source link

Date/time format #78

Closed stalkerGH closed 11 months ago

stalkerGH commented 11 months ago

Dear NeoWX author(s) and users.

I'd like to ask about date and time definitions format in skin.conf. Now I have:

# Date and time formatting
    # -------------------------------------------------------------------------
    #
    [[Formatting]]

        # Datetime format (strftime) for generated HTML
        datetime_today = %H:%M
        datetime = %a %d %H:%M
        datetime_archive = %d.%m. %H:%M

And in header (left upper corner of screen, next to logo) I see it like this: DD.MM.YYYY HH:MM.

But I like to have: WEEKDAY, DD.MM - HH:MM

I tried to change it in above block of definitions but without positive effect. Of course I do weewx stop/start, even remove all /var/www/html/weewx directory. Maybe I should change something in weewx.conf - but what exactly?

stalkerGH commented 11 months ago

OK, I found the solution. It seems that weewx.conf has precedence over skin.conf - I changed the format in weewx.conf and time format is as expected.

I'm closing the issue now.