[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread HoracioDos
Thanks for the tip! It's getting more interesting everytime! On Monday, April 1, 2019 at 2:56:35 PM UTC-3, Pat wrote: > > Also, if you want to force a locale for moment.js, you could edit > bin/user/belchertown.py at line 85 >

[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread HoracioDos
I agree with pros and cons. It seems very hard to allow some customization from skin.conf. Once user knows where and how to change date time formats, it's not too difficult. Perhaps with a little mention in READMEmd this issue could be addressed. On Monday, April 1, 2019 at 2:52:11 PM UTC-3,

[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread Pat
Also, if you want to force a locale for moment.js, you could edit bin/user/belchertown.py at line 85 and set it to system_locale_js = "en-US". Restart weewx and see On Monday, April 1, 2019 at 1:41:05 PM

[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread Pat
Sounds good and I'm glad you found a way to customize it. I had to use moment.js because of the background updates and the various time formats that update with it (header, forecast, earthquake, charts). The pro is that all the dates will look consistent, the con is that it doesn't allow for

[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread HoracioDos
Hello Pat. I gave me the hint to start with. I started to replace some formats from "" to "L, LTS" and "LL" to "L" inside index and records templates. I usualy set system locale to "en_US" and in very few occasions to "es_AR", because I don't like spanish long date format. Acording to

[weewx-user] Re: Proper way to set time formats for Belchertown skin

2019-04-01 Thread Pat
Belchertown skin uses moment.js for a "pretty" and consistent time and date representation across all locales. Please open an issue on GitHub so I can understand what you are looking for and to track this better. On Monday, April 1, 2019 at 8:36:29 AM UTC-4, HoracioDos wrote: > > Hello. > I