Page 1 of 1
Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:13 am
by ttexsun
I would like to change the default 24 hr. time to 12 hr. time on my Cumulus web pages. Where would I go to reset this and what would I put in its place to make this change. Thanks for any help. ttexsun
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:17 am
by beteljuice
Click on the clock on the Cumulus console - it toggles between 24 / 12 hr clock.
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:25 am
by ttexsun
Thanks for the reply, I had already done this, but it dosen't change on my "now" page or other Cumulus pages on my web site.
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:32 am
by beteljuice
Did you wait long enough for the pages to update ?
I can't remember, It may be that Cumulus needs to be closed then restarted for the changes to take effect.
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:42 am
by ttexsun
I shut down Cumulus and restarted but still no change. How does it look on your side.
http://tdjww.com/wx
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 1:47 am
by krmidas
In Cumulus, go the help menu, and look up "web tags". Scroll to the very bottom of the page and you will see how to format time as 12 hour format.
-Tom
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 2:01 am
by ttexsun
Thanks beteljuice and Tom, I found where Tom was talking about in the help menu, and where do I find the tag to change. Is it in index.html file or some other file in the Cumulus folder, and where in the file is the tag located. Thanks again ttexsun
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 2:02 am
by PaulMy
You would need to edit the xxxxT.htm template files and most time webtags will accept an option 'format' parameter
http://wiki.sandaysoft.com/a/Webtags#Ti ... _Parameter
For your Now page and the Conditions at local time xxxxxx edit this line in your indexT.htm template file
<caption>Conditions at local time <#time></caption>
Not sure you can do all the times on all your Cumulus standard pages though
Paul
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 2:22 am
by ttexsun
How do I change <#time> tag and in what HTML file, and to what format? Sorry to be so dumb. I am not familar with doing much changes in these files. Thanks again ttexsun
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 2:41 am
by PaulMy
Sorry I can't be a lot of help as I only feel comfortable with the basics, but just wanted to point you to the Wiki information as you asked. The indexT.htm in your Cumulus\web folder is one file to edit (for the "Now" page) and any of the other xxxxT.htm templates like todayT.htm, yesterdayT.htm, etc.
To edit a xxxxT.htm file open it in an editor, like notepad++, type in the new webtag with the appropriate time format as shown in thw Wiki, save the file, and at the next Cumulus web update it will (?should?) be changed. Do the same for all the files you want to change.
Paul
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 3:05 am
by ttexsun
Thanks PaulMy for your help and eyeryone else. I will give it a try. I have done some changes in some files and did not know how to go back and change them like they were and messed up things that Cumulus would not load up again. I had to reload Cumulus over sereval times and set up everything again. But I guess thats the way to learn, if you have the patience.HA! Thanks again everyone. ttexsun
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 3:14 am
by PaulMy
From experience, just one other piece of advice - DO A BACKUP of the file before editing
Paul
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 9:30 am
by steve
You should be able to apply a format to all of the date and time web tags. If you find any that don't work, please let me know.
As an example, to set the <#time> web tag to a 12-hour format, use
<#time format=h:nn am/pm>
That should give you something like:
9.56 am
Re: Where to reset default 24hr time to 12hr. time
Posted: Sat 23 Feb 2013 3:49 pm
by ttexsun
Thanks Steve, Thats what I needed to know. I did not know how set up the "time" tag. ttexsun