mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
"half hour timezones as requested on the list"
This commit is contained in:
parent
da48c78fc2
commit
2c5582c15b
@ -40,10 +40,10 @@
|
||||
{
|
||||
$format .= 'H:i';
|
||||
}
|
||||
for($i = -23; $i<24; $i++)
|
||||
for($i = -23.5; $i < 24.0; $i += 0.5)
|
||||
{
|
||||
$t = time() + $i * 60*60;
|
||||
$tz_offset[$i] = $i . ' ' . lang('hours').': ' . date($format,$t);
|
||||
$t = time() + round($i * 3600);
|
||||
$tz_offset[(string)$i] = sprintf('%3.1lf',$i) . ' ' . lang('hours').': ' . date($format,$t);
|
||||
}
|
||||
|
||||
$date_formats = array(
|
||||
|
Loading…
Reference in New Issue
Block a user