Page 2 of 2
Re: Months on the web pages appear in Spanish
Posted: Fri 05 Aug 2011 4:41 pm
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.
Re: Months on the web pages appear in Spanish
Posted: Fri 05 Aug 2011 4:42 pm
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
Re: Months on the web pages appear in Spanish
Posted: Fri 05 Aug 2011 5:20 pm
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.
Re: Months on the web pages appear in Spanish
Posted: Fri 05 Aug 2011 7:36 pm
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.