[weewx-user] Re: Name of "day of week"

2017-02-17 Thread Ruben Navarro Huedo
A lot of thanks 
Do you know if locale can be edited?

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


[weewx-user] Re: Name of "day of week"

2017-02-17 Thread gjr80
Hi,

I am no Spanish or locale expert but of the searching I just did all the 
Spanish days of the week were shown as lower case only. Secondly, and 
probably most telling, setting the python locale to es_ES.UTF-8 lists the 
days of the week as 

['lunes', 'martes', 'mi\xc3\xa9rcoles', 'jueves', 'viernes', 's\xc3\xa1bado'
, 'domingo']

I suspect that the only way you will get initial capitals is to manually 
format them yourself with a little in-line python.

Gary

On Friday, 17 February 2017 21:15:33 UTC+10, Ruben Navarro Huedo wrote:
>
> Hello:
>
> I have been reading customization guide but i don't find how i could do 
> this.
>
> Using $week.barometer.maxtime (or other $week.* variables) in a template 
> gives me this result:
>
> 14:56:03 (martes)
>
> I know i can change time format in skin.conf but i want to have the name 
> of day (martes) with capital letter in the beginning.
>
> Can i do this? How?
>
> A lot of thank's
>
>
>

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


[weewx-user] Re: Name of "day of week"

2017-02-17 Thread Andrew Milner
what format are you actually using??  I think that %a and %A should be 
capitalised by default when used in strftime strings.

On Friday, 17 February 2017 13:15:33 UTC+2, Ruben Navarro Huedo wrote:
>
> Hello:
>
> I have been reading customization guide but i don't find how i could do 
> this.
>
> Using $week.barometer.maxtime (or other $week.* variables) in a template 
> gives me this result:
>
> 14:56:03 (martes)
>
> I know i can change time format in skin.conf but i want to have the name 
> of day (martes) with capital letter in the beginning.
>
> Can i do this? How?
>
> A lot of thank's
>
>
>

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