fixed bug [ 844196 ] Time formats

This commit is contained in:
JT Smith 2003-11-19 04:02:19 +00:00
parent e421624c5e
commit df1a05168e
2 changed files with 5 additions and 3 deletions

View file

@ -7,6 +7,8 @@
deleted.
- Fixed bug [ 843591 ] Fatal error while creating a new Message Board if
there are no Forums yet.
- Fixed bug [ 844196 ] Time formats
5.5.1
- Fixed bug #829806 preventing users from updating thier passwords from the updateAccount form.

View file

@ -258,10 +258,10 @@ sub epochToHuman {
$hour12 = $hour;
if ($hour12 > 12) {
$hour12 = $hour12 - 12;
if ($hour12 == 0) {
$hour12 = 12;
}
}
if ($hour12 == 0) {
$hour12 = 12;
}
$value = sprintf("%02d",$hour12);
$output =~ s/\%h/$value/g;
$output =~ s/\%H/$hour12/g;