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

Where to reset default 24hr time to 12hr. time

Discussion specific to Davis weather stations
Post Reply
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Where to reset default 24hr time to 12hr. time

Post 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
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Where to reset default 24hr time to 12hr. time

Post by beteljuice »

Click on the clock on the Cumulus console - it toggles between 24 / 12 hr clock.
Image
......................Imagine, what you will KNOW tomorrow !
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Where to reset default 24hr time to 12hr. time

Post 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.
Image
......................Imagine, what you will KNOW tomorrow !
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post by ttexsun »

I shut down Cumulus and restarted but still no change. How does it look on your side. http://tdjww.com/wx
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
Tom Keramidas, Lake Zurich, IL, USA
Image
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post 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
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post by PaulMy »

From experience, just one other piece of advice - DO A BACKUP of the file before editing

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
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: Where to reset default 24hr time to 12hr. time

Post 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
Steve
ttexsun
Posts: 85
Joined: Sun 29 Jan 2012 2:51 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows10
Location: Georgia USA
Contact:

Re: Where to reset default 24hr time to 12hr. time

Post by ttexsun »

Thanks Steve, Thats what I needed to know. I did not know how set up the "time" tag. ttexsun
Post Reply