[CAN-2005-0103]
- Security: Fix possible XSS issues in src/webmail.php. [CAN-2005-0104]
- Fix undefined variables in src/webmail.php.
+ - 24hr clock format should include a leading 0.
Version 1.5.0
--------------------
if ( $hour_format == SMPREF_TIME_12HR ) {
$date_format = _("D, F j, Y g:i a");
} else {
- $date_format = _("D, F j, Y G:i");
+ $date_format = _("D, F j, Y H:i");
}
return( date_intl( $date_format, $stamp ) );
if ( $hour_format == SMPREF_TIME_12HR ) {
$date_format = _("g:i a");
} else {
- $date_format = _("G:i");
+ $date_format = _("H:i");
}
} else if ($midnight - 518400 < $stamp) {
/* This week */
if ( $hour_format == SMPREF_TIME_12HR ) {
$date_format = _("D, g:i a");
} else {
- $date_format = _("D, G:i");
+ $date_format = _("D, H:i");
}
} else {
/* before this week */
return ($mtime);
}
*/
-?>
\ No newline at end of file
+?>