diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-01-07 13:02:32 +0100 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-01-07 13:02:32 +0100 |
commit | 8a5b59989048d67b567819ee2038d4bff54ca184 (patch) | |
tree | 3136cd0acfd02e0f97a2ac3f5ae6f89be5e4cd18 | |
parent | 2023a7904c5a6536546022423948ab53fb4b309a (diff) |
DEV300 masterfix: get_sis_time_string(): correct calculation of month
Notes
split repo tag: components_ooo/DEV300_m69
-rw-r--r-- | setup_native/scripts/admin.pl | 1 |
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; } |