Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Months on the web pages appear in Spanish

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Months on the web pages appear in Spanish

Post by nitrx »

ajcm wrote:Now I have put:

<#TtempH format="at hh:mm on dd/mm/yyyy">

And the result is:

a11:41 11:41 o41 26/06/2011
You should use #TtempH format="'at' hh:nn 'on' dd mmmm yyyy">

the at and on words can be in every language but must be set between an apostrophe (') you can choose different time and date notations.
Last edited by nitrx on Fri 05 Aug 2011 4:42 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

ajcm wrote:Steve, you say that the format of <recordsbegandate> not be changed but then I can apply "format = at hh: mm on dd / mm / yyyy" to <TtempH>?
That's right. But you have to get the syntax correct:

<#TtempH format="'at' hh: mm 'on' dd / mm / yyyy"> gives
Sanday test weather - Mozilla Firefox_2011-08-05_17-40-48.png
You do not have the required permissions to view the files attached to this post.
Steve
ajcm
Posts: 111
Joined: Sun 17 Jul 2011 5:15 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: W7 Home Premium 64bits
Location: Maspalomas, Canary Islands, Spain
Contact:

Re: Months on the web pages appear in Spanish

Post by ajcm »

Ok, now all good.

Mr. Steve, I never thought that does not work because webtag was wrong, I thought something was missing and that both "at" to "on" could not go along with the format "hh: mm" or "dd / mm / yyyy "without putting quotation marks or apostrophes or anything else.

Thanks.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Months on the web pages appear in Spanish

Post by steve »

The problem is that anything in the format string which is a 'special' character gets interpreted as such (there's no way for it to know the difference), so you have to put it in quotes to stop that happening. I've updated the wiki and the help to make this clearer.
Steve
Post Reply