projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da1c75
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 16 May 2012 09:04:32 +0000
(17:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 16 May 2012 09:04:32 +0000
(17:04 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
55ece1e
..
311ba97
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-136,7
+136,14
@@
class Pman_Core_I18n extends Pman
case 'Timezone':
$ar = DateTimeZone::listAbbreviations();
- echo '<PRE>';print_R($ar);exit;
+ $ret = array();
+ foreach($ar as $tl => $sar) {
+ foreach($sar as $tz) {
+ $ret[] = array('tz' => $tz['timezone_id']);
+ }
+ }
+ $this->jdata($ret);
+