mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
* Calendar: add duration intervalls 10, 12, 14 and 16 hours
This commit is contained in:
parent
7ade6b4f55
commit
8e73cf1f91
@ -55,7 +55,7 @@ class calendar_uiforms extends calendar_ui
|
||||
{
|
||||
parent::__construct(true); // call the parent's constructor
|
||||
|
||||
for ($n=15; $n <= 8*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : 60)))
|
||||
for ($n=15; $n <= 16*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : ($n < 480 ? 60 : 120))))
|
||||
{
|
||||
$this->durations[$n*60] = sprintf('%d:%02d',$n/60,$n%60);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user