The month name is from Python's strftime
<https://docs.python.org/2/library/time.html#time.strftime>. Right now, the
code it uses is %b --- Month name, abbreviated. If you want to change it,
go into NOAA-YYYY-MM.txt.tmpl and change the line

                   MONTHLY CLIMATOLOGICAL SUMMARY for $month_name $year_name

to
                   MONTHLY CLIMATOLOGICAL SUMMARY for
$month.dateTime.format("%B") $year_name

The code %B will give the full month name.

As for the temperature label, you can also just change the template. Change

TEMPERATURE ($unit.label.outTemp.strip())

to

TEMPERATURE (Deg $unit.label.outTemp.strip())

-tk

On Tue, Mar 12, 2019 at 6:22 AM Copain <[email protected]> wrote:

> Understood.
>
> If set to 'strict_ascii', the 'degree character' will not be shown any
> more.
>
> But why month 'Mar' shows as 'Mr' only, loosing its middle character 'a'?
> This should not drop out.
>
> Might there still be some influence from the definition of the variables
> within weewx? Where are these labels set?
>
> If so, the temperature label could be set as 'Deg C' or 'Deg F', avoiding
> the 'degree character' and also showing up propperly in NOAA.
>
>
>
> Am Montag, 11. März 2019 17:15:21 UTC+1 schrieb Copain:
>
>> I am running weewx on RPi 3B with dietpi and German locale.
>>
>> In NOAA reports I noticed some strange formats for
>> - temperature (°C) and
>> - months ('Mär' for 'Mar')
>>
>> Some variables affected are '$unit.label.outTemp.strip()',
>> '$year.outTemp.maxtime.format($M,$NODAY)',
>> '$year.outTemp.mintime.format($M,$NODAY)',
>> '$year.rain.maxsumtime.format($M,$NODAY)' and
>> '$year.wind.maxtime.format($M,$NODAY)'.
>>
>> Where / how could those be changed in oder to show propper formatting?
>>
>> Thanks.
>>
>> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to