From d33f9e1ba76e60afc8482bd71d9b8bebb1f65dbd Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 5 Feb 2008 10:33:56 +0000 Subject: [PATCH] add April to list of months git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8747 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 2 +- gosa-si/gosa-si-server | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index e483eb326..128b2a16a 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -210,7 +210,7 @@ sub daemon_log { $hours = $hours < 10 ? $hours = "0".$hours : $hours; $minutes = $minutes < 10 ? $minutes = "0".$minutes : $minutes; $seconds = $seconds < 10 ? $seconds = "0".$seconds : $seconds; - my @monthnames = ("Jan", "Feb", "Mar", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); + my @monthnames = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); $month = $monthnames[$month]; $monthday = $monthday < 10 ? $monthday = "0".$monthday : $monthday; $year+=1900; diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 10e7d3ae3..3c73064d8 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -25,7 +25,6 @@ use warnings; use Getopt::Long; use Config::IniFiles; use POSIX; -use Time::HiRes qw( gettimeofday ); use Fcntl; use IO::Socket::INET; @@ -210,7 +209,7 @@ sub daemon_log { $hours = $hours < 10 ? $hours = "0".$hours : $hours; $minutes = $minutes < 10 ? $minutes = "0".$minutes : $minutes; $seconds = $seconds < 10 ? $seconds = "0".$seconds : $seconds; - my @monthnames = ("Jan", "Feb", "Mar", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); + my @monthnames = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); $month = $monthnames[$month]; $monthday = $monthday < 10 ? $monthday = "0".$monthday : $monthday; $year+=1900; -- 2.30.2