Hallo Keimpe,

I use

belchertown_locale = nl_NL.*UTF-8*

and that is ok.

Regards,
Jaap



Op maandag 18 mei 2020 19:44:51 UTC+2 schreef Keimpe Bleeker:
>
> Another try to find a solution for a weird problem! 
>
> Problem: MQTT updates are working perfect, but the text and time of the 
> last update on the website is chaotic (see screenshot and website 
> <http://oentsjerk.eu>). All the other dates and times served by moments.js 
> are 
> 100% OK. Everything is built from scratch on a formatted SDcard, because 
> the same problem occurred since I upgraded Weewx 3.9.# and Belchertown...
>
> System info:
> - Raspberrry Pi 4 Model B Rev 1.2, Debian 10.4, 32GB
> - Weewx 4.0
> - Belchertown 1.1
>
> As far as I know, all the envolved skin.conf issues are:
> ...
> ...
>     belchertown_locale = "auto"
> #  belchertown_locale = "nl_NL.utf8"  #checked this setting, without 
> results
>     theme = light
> ...
> ...
>      # MQTT Websockets defaults
>      mqtt_websockets_enabled = 1
>      mqtt_websockets_host = my.external.ip.address
>      mqtt_websockets_port = 9001
>      mqtt_websockets_ssl = 0
>      mqtt_websockets_topic = weather/loop
>      disconnect_live_website_visitor = 1800000
> ...
> ...
>     # Show an alert if the page updated timestamp is older than expected 
> with this setting. Does not apply to MQTT Websocket enabled websites
>     # The late time threshold is defined in seconds. This should be 
> greater than your archive_interval from weewx.conf.
>     # Typically you would want this 2 or 3 times archive_interval
>     show_last_updated_alert = 0
>     last_updated_alert_threshold = 1800
>
>     # If mqtt_websockets_enabled is set to 0, but want the page to full 
> reload on an interval, specify this below in milliseconds. 300000 = 5 
> minutes
>     webpage_autorefresh = 0
> ...
> ...
>         header_last_updated                = Laatste update
>         mqtt_websockets_connecting   = Real-time verbonden met weerstation
>         mqtt_websockets_waiting         = Verbonden, wacht op data.
>         mqtt_websockets_connected    = Real-time verbonden met weerstation
>         mqtt_websockets_stopped        = Real-time updates zijn gestopt
>         mqtt_websockets_continue       = Updates hervatten
>         mqtt_websockets_failed            = Verbinding verbroken
>         mqtt_websockets_lost               = Verbinding verbroken
> ...
> ...
>         # moment.js default labels formats
>         time_earthquake                                        = "LLL"
>         time_lastUpdated                                       = "LL, LTS"
>         time_snapshot_records_today_header      = "dddd, LL"
>         time_snapshot_records_month_header     = "MMMM YYYY"
>         time_sunrise                                               = "LT"
>         time_sunset                                                = "LT"
>         time_darksky_alert_expires                       = "LLL"
>         time_darksky_forecast_date                      = "ddd DD/M"
>         time_forecast_last_updated                       = "LLL"
>         time_mqtt_websockets_last_updated        = "LL, LTS"
>         time_records_page_full_date                     = "LLL"
>         time_records_page_month_day_year        = "LL"
>         time_records_page_rainfall_range_begin  = "MMMM DD"
>         time_records_page_rainfall_range_end    = "LL"
> ...
> ...
>
> The website is running in DEBUG-mode (http://oentsjerk.eu/?debug=true), 
> if you like to spend a minute to investigate, you are very welcome!
>
> Regards, Keimpe
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/b9544a78-d877-4b06-97a6-ea8457e3f687%40googlegroups.com.

Reply via email to