[drupal-devel] [feature] _system_zonelist should return locale names

crunchywelch drupal-devel at drupal.org
Tue Apr 26 05:59:52 UTC 2005


Issue status update for http://drupal.org/node/21343

 Project:      Drupal
 Version:      cvs
 Component:    system.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  crunchywelch
 Updated by:   crunchywelch
 Status:       patch
 Attachment:   http://drupal.org/files/issues/system_6.patch (4.87 KB)

This patch adds locale names to the timezone offsets provided by
system.module.


Currently, the function returns an array with offsets for keys and
formatted 'local' times for the values. With this patch, the function
will return an associative array with two keys 'times' and 'locales'. 
Each key has an array with the offset values for keys, and thier
associated local time value, or locale name.


This patch provides a standard place to retrieve timezone values when
developing with them, improves useability when displaying timezone
select boxes, and updates the timezone offset values. This patch will
be utilized immediately by event.module, which currently uses an almost
equivelant function, event_zonelist.




crunchywelch




More information about the drupal-devel mailing list