mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Add 9 hour duration
This commit is contained in:
parent
c8dad27c8a
commit
5e85a8d3bf
@ -55,7 +55,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
{
|
{
|
||||||
parent::__construct(true); // call the parent's constructor
|
parent::__construct(true); // call the parent's constructor
|
||||||
|
|
||||||
for ($n=15; $n <= 16*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : ($n < 480 ? 60 : 120))))
|
for ($n=15; $n <= 16*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : ($n < 600 ? 60 : 120))))
|
||||||
{
|
{
|
||||||
$this->durations[$n*60] = sprintf('%d:%02d',$n/60,$n%60);
|
$this->durations[$n*60] = sprintf('%d:%02d',$n/60,$n%60);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user