Enable more than only 8 possible clocks, lets enable the world maximum of 24 clocks
Tom Freudenberg - December 1, 2008 - 23:25
| Project: | World Clock |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | flevour |
| Status: | closed |
Jump to:
Description
Hi guys, as posted in the german drupalcenter.de http://www.drupalcenter.de/node/14777 please apply patch for upcoming next release to extend the maximum number of today 8 clocks to 24.
for this please change the options line
'#options' => array(1 => '1', 2 => '2', 3 => '3', 4 => '4', 5 => '5', 6 => '6', 7 => '7', 8 => '8'),to
'#options' => drupal_map_assoc(range(1, 24)),thx for this
Tom

#1
Why is there a set limit? I'd like to see an unlimited number of locations available instead of having a cap.
#2
Working on it right now. Please extend my thanks to the German forum. I can't understand the German parts, but the PHP code was helpful :)
#3
Fixed for D5 in the dev branch. Re-assigning to D6.
#4
Commited for D6. Marking as fixed.
#5
thx flevour
Tom
#6
Automatically closed -- issue fixed for two weeks with no activity.