summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2010-01-07 13:02:32 +0100
committerJens-Heiner Rechtien <hr@openoffice.org>2010-01-07 13:02:32 +0100
commit8a5b59989048d67b567819ee2038d4bff54ca184 (patch)
tree3136cd0acfd02e0f97a2ac3f5ae6f89be5e4cd18 /setup_native
parent2023a7904c5a6536546022423948ab53fb4b309a (diff)
DEV300 masterfix: get_sis_time_string(): correct calculation of month
Notes
split repo tag: components_ooo/DEV300_m69
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/scripts/admin.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup_native/scripts/admin.pl b/setup_native/scripts/admin.pl
index ebb16d0ef008..f737a6392f13 100644
--- a/setup_native/scripts/admin.pl
+++ b/setup_native/scripts/admin.pl
@@ -1164,6 +1164,7 @@ sub get_sis_time_string
my $day = (localtime())[3];
my $month = (localtime())[4];
my $year = 1900 + (localtime())[5];
+ $month++;
if ( $second < 10 ) { $second = "0" . $second; }
if ( $minute < 10 ) { $minute = "0" . $minute; }