weathermap4rrd (1.1.999+1.2rc3-2) weathermap

Summary

 weathermap |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- weathermap4rrd-1.1.999+1.2rc3.orig/weathermap
+++ weathermap4rrd-1.1.999+1.2rc3/weathermap
@@ -101,7 +101,7 @@
 		$DATE= RRDs::last "$data";
 		$version=&rrdtool_getversion();
 		print "RRDTool binary version detected : $version\n" if ($DEBUG);
-		if ($version=="1.2") {
+		if ($version=="1.2" || $version=="1.3") {
 			$DATE= $DATE-300;
 		}
 		print "No date specified, last value will be read : ".scalar localtime($DATE)."\n" if ($DEBUG);