mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Fix for the 12/24 hour problem identified in the mailing list
This commit is contained in:
parent
7059637ad3
commit
c5e34d10b5
@ -76,6 +76,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
if($start[hour] > 24)
|
||||
{
|
||||
$start[hour] -= 12;
|
||||
}
|
||||
|
||||
if ($end[ampm] == 'pm')
|
||||
{
|
||||
if ($end[hour] <> 12)
|
||||
@ -90,6 +95,11 @@
|
||||
$end[hour] -= 12;
|
||||
}
|
||||
}
|
||||
|
||||
if($end[hour] > 24)
|
||||
{
|
||||
$end[hour] -= 12;
|
||||
}
|
||||
}
|
||||
|
||||
if(!isset($private))
|
||||
|
Loading…
Reference in New Issue
Block a user