[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] CVS: squirrelmail/src left_main.php,1.154.2.3,1.154.2.4
From:       Tomas Kuliavas <tokul () users ! sourceforge ! net>
Date:       2003-09-28 6:27:24
[Download RAW message or body]

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(' ','&nbsp;',$clk);
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic