Today.ini: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
833 bytes added ,  09:38, 16 March 2020
m
Line 51: Line 51:


*This composite contains time-stamp formats used by Cumulus 1.x.y and Cumulus MX in the few places where they differ. Notes in round brackets () are not part of the file, they simply explain elements of the composite.
*This composite contains time-stamp formats used by Cumulus 1.x.y and Cumulus MX in the few places where they differ. Notes in round brackets () are not part of the file, they simply explain elements of the composite.
*The sections can be in any order; I'm not sure what order Cumulus 1 and Cumulus MX use when they first create this file, but when they recreate this file, the order remains unchanged. So if you do edit this file and that edit leaves the sections in a different order, both versions of Cumulus will from then onwards use that new order.  I discovered this as I have a PHP script that reads today.ini from the backup directory and it failed because I had changed the order of sections from the order I had previously coded in my script when I copied part of my today.ini from a nearby site (the Chill Hours figure shown represents a season, but I have just started at a new location so I adjusted my figure to agree with his). Morale of this story is don't make assumptions when writing a script, make it cope with all possibilities!
<pre>
<pre>
[General]
[General]
5,838

edits

Navigation menu