From e81bc965fc609a1b363641ec03a211781e7f0680 Mon Sep 17 00:00:00 2001 From: cmaffio Date: Wed, 20 Apr 2016 16:46:20 +0200 Subject: [PATCH] sistemazione partizioni --- script/partitioning.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/partitioning.pl b/script/partitioning.pl index be14d46..a526b9f 100755 --- a/script/partitioning.pl +++ b/script/partitioning.pl @@ -107,7 +107,7 @@ sub aggiorna { next if ($1 eq '19700101'); my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime($2); - $ultimo = $year+1900."-".$mon+1."-".$mday; + $ultimo = ($year+1900)."-".i($mon+1)."-".$mday; my $diff = diffgg ($ultimo); if ($diff > 365) {