fixed bug [ 844196 ] Time formats
This commit is contained in:
parent
e421624c5e
commit
df1a05168e
2 changed files with 5 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue