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
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

reaneyk - December 3, 2008 - 01:05

Why is there a set limit? I'd like to see an unlimited number of locations available instead of having a cap.

#2

flevour - December 3, 2008 - 11:35
Assigned to:Anonymous» flevour

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

flevour - December 3, 2008 - 13:34

Fixed for D5 in the dev branch. Re-assigning to D6.

#4

flevour - December 3, 2008 - 15:50
Status:active» fixed

Commited for D6. Marking as fixed.

#5

Tom Freudenberg - December 4, 2008 - 23:56

thx flevour

Tom

#6

System Message - December 19, 2008 - 00:01
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.