Hi,
I would like to change the time- and date formats for the records and monthly records or translate from English to German. http://odenwald-wetter.de/cumulus/record.htm
e.g. at 15:02 on 25 July 2019 change um 15:02 Uhr am 25 Juli 2019;
id = "TempHT"> <# ByMonthTempHT mon = 7 or <#TtempH>
Who can help me please?
Many greetings
thunderstorm
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
how to change a webtag
Moderator: mcrossley
-
- Posts: 37
- Joined: Tue 26 Mar 2019 8:49 am
- Weather Station: Davis Vantage Pro
- Operating System: Win10
- Contact:
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: how to change a webtag
You would use something like...
Code: Select all
<#ByMonthTempHT mon=7 format="'um' hh:mm 'Uhr am' dd MMMM yyyy">
- HansR
- Posts: 5958
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: how to change a webtag
I learned something today: the Wiki has pages
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 37
- Joined: Tue 26 Mar 2019 8:49 am
- Weather Station: Davis Vantage Pro
- Operating System: Win10
- Contact:
Re: how to change a webtag
Hi,
yes reading on the WIKI pages is one thing, but understanding and implementing the other. I'm sorry, but despite reading and trying a lot, I still have a question about the monthly records. I edited monthlyrecordT.htm for December. When I call up the monthly records, the time and date values are displayed correctly, only the temperature values are missing. If I click again on December, the English formats appear again.
http://odenwald-wetter.de/cumulus/monthlyrecord.htm
The same is true for the other months. I have already tried a few variants, but all without success. On the localhost platform, the date and time formats are displayed as they should be. Maybe someone can help me again.
Many greetings
thunderstorm
yes reading on the WIKI pages is one thing, but understanding and implementing the other. I'm sorry, but despite reading and trying a lot, I still have a question about the monthly records. I edited monthlyrecordT.htm for December. When I call up the monthly records, the time and date values are displayed correctly, only the temperature values are missing. If I click again on December, the English formats appear again.
http://odenwald-wetter.de/cumulus/monthlyrecord.htm
The same is true for the other months. I have already tried a few variants, but all without success. On the localhost platform, the date and time formats are displayed as they should be. Maybe someone can help me again.
Many greetings
thunderstorm
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: how to change a webtag
It looks like you changed the tags in teh HTML (which displays when the page first loads) - lines 28 - 170.
But you haven't changed all the tags in the script block (which displays when you change the month) - lines 179 - 229
But you haven't changed all the tags in the script block (which displays when you change the month) - lines 179 - 229