to follow user's hour_format preference. Time zone can be displayed as numbers.
O key instead of T.
mm/dd/yy and dd/mm/yy names replaced with human readable description.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7034
7612ce4b-ef26-0410-bec9-
ea0150e637f0
'caption' => _("Show Clock on Folders Panel"),
'type' => SMOPT_TYPE_STRLIST,
'refresh' => SMOPT_REFRESH_FOLDERLIST,
'caption' => _("Show Clock on Folders Panel"),
'type' => SMOPT_TYPE_STRLIST,
'refresh' => SMOPT_REFRESH_FOLDERLIST,
- 'posvals' => array( '1' => 'MM/DD/YY HH:MM',
- '2' => 'DD/MM/YY HH:MM',
+ 'posvals' => array( '0' => _("International date and time"),
+ '1' => _("American date and time"),
+ '2' => _("European date and time"),
'3' => _("Show weekday and time"),
'4' => _("Show time with seconds"),
'5' => _("Show time"),
'3' => _("Show weekday and time"),
'4' => _("Show time with seconds"),
'5' => _("Show time"),
}
switch( $date_format ) {
}
switch( $date_format ) {
+ case 0:
+ $clk = date('Y-m-d '.$hr. ' T', time());
+ break;
case 1:
$clk = date('m/d/y '.$hr, time());
break;
case 1:
$clk = date('m/d/y '.$hr, time());
break;