You remember right, except that the old 'YYYY', 'MM', etc., names are still
honored.

Besides, he has not upgraded his copy of WeeWX. He's still on V3.9.

On Fri, Dec 20, 2024 at 9:29 AM vince <vinceska...@gmail.com> wrote:

> "*My suspicion is that weewx is not handling the %Y and %Y-%m template
> files properly."*
>
> Tom - it's been literally years, but I remember some kind of breaking
> change that happened along those lines way back when and the fix was to
> rename filenames on the template files in pre-existing skins.
>
> FWIW - surfing the neowx github site(s), the old original neowx skin file
> names in the format of  "NOAA-YYYY-MM.txt.tmpl
> <https://github.com/neoground/neowx/blob/master/src/NOAA/NOAA-YYYY-MM.txt.tmpl>"
> and the like.   The new ones uses the % syntax for year/month in the
> filename name.   My very hazy recollection is that at some point in time I
> had to rename things in old skins to use the new syntax.
>
> My guess (guess) is that to use the new neowx skin on the old weewx he has
> to rename the neowx templates the other way to use the old syntax for file
> naming.
>
> From the install.py file for the current neowx:
> 'skins/neowx-material/archive/NOAA-%Y.txt.tmpl',
> 'skins/neowx-material/archive/NOAA-%Y-%m.txt.tmpl'
>
> For the new skin on old ancient weewx, I'd try renaming them to the old
> filename syntax ala:
> 'skins/neowx-material/archive/NOAA-YYYY.txt.tmpl',
> 'skins/neowx-material/archive/NOAA-YYYY-MM.txt.tmpl'
>
> Worst that happens is it doesn't work :-)
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/weewx-user/998b9ae9-cf90-47c5-91c0-587f532d151dn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/998b9ae9-cf90-47c5-91c0-587f532d151dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDWy9xudtGmA8YJxN7DdTng4CxMfZ1E%2BoHDLwsEuBPt2A%40mail.gmail.com.

Reply via email to