]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
the switch in disambiguating m[inute] and m[onth] in time spec is 6 not 25. fix for...
authorTobias Oetiker <tobi@oetiker.ch>
Thu, 22 Jun 2017 06:23:36 +0000 (08:23 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 22 Jun 2017 06:23:36 +0000 (08:23 +0200)
doc/rrdfetch.pod
src/rrd_parsetime.c

index e9e9677ab553c1bb54903a4006f91dbe8bf82e22..70ecde09b5e54d67283f9d37d5545178bd3317bc 100644 (file)
@@ -253,9 +253,9 @@ in the context of hours, minutes, and seconds it means minutes.
 
 Out of context (i.e. right after the B<+> or B<-> sign) the
 meaning of B<m> is guessed from the number it directly follows.
-Currently, if the number's absolute value is below 25 it is assumed
+Currently, if the number's absolute value is below 6 it is assumed
 that B<m> means B<months>, otherwise it is treated as B<minutes>.
-(e.g., -25m == -25 minutes, while +24m == +24 months)
+(e.g., -6m == -6m minutes, while +5m == +5 months)
 
 =back
 
index 6bf02f557c4c92b95f71d5d987f0fbed29ccd44c..4edd2770c0b4b83a32e096f0fac84779843f9315 100644 (file)
  *
  * 2. Out of context (i.e. right after the '+' or '-' sign) the
  *    meaning of 'm' is guessed from the number it directly follows.
- *    Currently, if the number absolute value is below 25 it is assumed
+ *    Currently, if the number absolute value is below 6 it is assumed
  *    that 'm' means months, otherwise it is treated as minutes.
- *    (e.g., -25m == -25 minutes, while +24m == +24 months)
+ *    (e.g., -6m == -6 minutes, while +5m == +5 months)
  *
  */