From: Tomas K. <to...@us...> - 2003-09-28 06:28:04
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory sc8-pr-cvs1:/tmp/cvs-serv8495 Modified Files: Tag: SM-1_4-STABLE left_main.php Log Message: Fixes bug No.810047 Thanks to G.Mokhin This code is left from the past. SquirrelMail should use getDayAbrv function when short name of week is needed. Maybe we should something more. I am thinking about ability to set default clock format (12 or 24) in translation. Index: left_main.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/left_main.php,v retrieving revision 1.154.2.3 retrieving revision 1.154.2.4 diff -u -w -r1.154.2.3 -r1.154.2.4 --- left_main.php 2 Sep 2003 21:34:04 -0000 1.154.2.3 +++ left_main.php 28 Sep 2003 06:27:21 -0000 1.154.2.4 @@ -860,7 +860,7 @@ $clk = date($hr, time()); break; default: - $clk = substr( getDayName( date( 'w', time() ) ), 0, 3 ) . date( ', ' . $hr, time() ); + $clk = getDayAbrv( date( 'w', time() ) ) . date( ', ' . $hr, time() ); } $clk = str_replace(' ',' ',$clk); |