Years ago I used to use Cumulus running on a Windows machine connected to a Fine Offset USB Station.
The I moved to WeeWX running on a Raspberry Pi connected to the Fine Offset USB Station.
Then I got a Davis Vantage Pro 2 connected to the PI and then for the last two years I have been running a Vantage Pro 2 connected via a USB Data Logger to a Mac Mini running WeatherCat
https://wx-watch.co.uk
I have just got a Weatherlink Live and was looking around for some software to try it out other than Weatherlink. I came across CumulusMX and very rapidly got it set up and working on a Raspberry Pi 4
https://LongSutton-Weather.co.uk
The only thing I would like to alter is the date format - it is US format 2020-08-04 whereas I would like it as 4th August 2020
Thanks
JH
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
Date Format
Moderator: mcrossley
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
- PaulMy
- Posts: 3830
- 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: Date Format
Looks like you are on the support team... issue resolved!I would like it as 4th August 2020
Enjoy,Conditions at local time 14:01 on 05 August 2020
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Date Format
Yes - it seemed to sort itself out when I set the correct locale on the Raspberry Pi
I can't however sorry out the last rainfall date - it reads "Last rainfall 2020-08-04 11:08"
Can I change that?
JH
I can't however sorry out the last rainfall date - it reads "Last rainfall 2020-08-04 11:08"
Can I change that?
JH
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2473
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Date Format
That value is set by a web tag in your template which can be found at CumulusMX/web/indexT.htm
Have a look at web tags in the Wiki for details on how to change the formatting.
Have a look at web tags in the Wiki for details on how to change the formatting.
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Date Format
Ok - I have found <#LastRainTipISO> in indexT.htm and changed it to <#LastRainTip> which then changes the output to "Last rainfall 04/08/2020"
The Wiki says I can pass modifiers to <#LastRainTip> to get the format I am after (for example) ie 02:35 on 4th August 2020
How do I pass these modifiers
Many thanks
JH
The Wiki says I can pass modifiers to <#LastRainTip> to get the format I am after (for example) ie 02:35 on 4th August 2020
How do I pass these modifiers
Many thanks
JH
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Date Format
The Dalek Hunter wrote: ↑Wed 05 Aug 2020 1:13 pm the last rainfall date - it reads "Last rainfall 2020-08-04 11:08"
Well done for spotting that the standard web pages (as shown in your image) use an old tag that is fixed format.
Now you have replaced <#LastRainTipISO> with the new web tag only available from release 3.6.1 - <#LastRainTip>, https://cumuluswiki.org/a/Webtags#List_ ... parameters tells you what modifiers are available and gives examples.
<#LastRainTip format="HH:mm' on 'd MMMM yyyy"> gives close to what you want. Note that the literal ' on ' requires its surrounding spaces to be within the single quotes, and because there are other spaces (separating parts of date) the whole format specifier is in double quotes.The Dalek Hunter wrote: ↑Wed 05 Aug 2020 1:48 pm the format I am after (for example) ie 02:35 on 4th August 2020
The "th" may be possible, but nobody has asked for that format before, so I don't know! Start your search at https://docs.microsoft.com/en-us/dotnet ... at-strings
Last edited by sfws on Wed 05 Aug 2020 3:44 pm, edited 1 time in total.
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Date Format
Many thanks
All done
JH
All done
JH
You do not have the required permissions to view the files attached to this post.
- 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: Date Format
It's not possible using the custom format strings - you'd have to write your own code to do it.sfws wrote: ↑Wed 05 Aug 2020 1:58 pm The "th" may be possible, but nobody has asked for that format before, so I don't know! Start your search at https://docs.microsoft.com/en-us/dotnet ... at-strings