From e1baa507f36dd65abac2ac7b16f54559bfae47b3 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 11 May 2003 09:43:22 +0000 Subject: [PATCH] functions/date.php has own functions for short name of month/weekday. some translations need more than 3 symbols some translations (German) has html codes in names. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4859 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/calendar/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calendar/functions.php b/plugins/calendar/functions.php index 10c469c5..c723f68a 100644 --- a/plugins/calendar/functions.php +++ b/plugins/calendar/functions.php @@ -126,7 +126,7 @@ function select_option_month($selected) { for ($i=1;$i<13;$i++){ $im=date('m',mktime(0,0,0,$i,1,1)); - $is = substr( _( date('F',mktime(0,0,0,$i,1,1)) ), 0, 3 ); + $is = getMonthAbrv( date('m',mktime(0,0,0,$i,1,1)) ); if ($im==$selected){ echo " \n"; } else { -- 2.25.1