[ooo-build-commit] Branch 'ooo/OOO320' - setup_native/scripts

Jan Holesovsky kendy at kemper.freedesktop.org
Thu Jan 7 19:36:39 PST 2010


 setup_native/scripts/admin.pl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5bf3e6d7d21fb3cd6ec33b7270eabb41f8cd7caa
Author: Oliver Bolte <obo at openoffice.org>
Date:   Thu Jan 7 05:07:32 2010 +0000

    #i10000# zero based month

diff --git a/setup_native/scripts/admin.pl b/setup_native/scripts/admin.pl
index e5aca7d..ab65a96 100644
--- a/setup_native/scripts/admin.pl
+++ b/setup_native/scripts/admin.pl
@@ -1019,7 +1019,8 @@ sub get_sis_time_string
     my $day = (localtime())[3];
     my $month = (localtime())[4];
     my $year = 1900 + (localtime())[5];
-    
+
+    $month++;    # zero based month	
     if ( $second < 10 ) { $second = "0" . $second; }
     if ( $minute < 10 ) { $minute = "0" . $minute; }
     if ( $hour < 10 ) { $hour = "0" . $hour; }


More information about the ooo-build-commit mailing list