projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2215a9b
)
TimeZone.php
author
leon
<leon@roojs.com>
Mon, 15 Apr 2024 04:20:22 +0000
(12:20 +0800)
committer
leon
<leon@roojs.com>
Mon, 15 Apr 2024 04:20:22 +0000
(12:20 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
ee20cc2
..
759928d
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-111,6
+111,13
@@
class Pman_Core_TimeZone extends Pman
$ar = explode('/', $ce->Name);
// ignore timezone such as 'Etc/GMT+8'
+ $region = $ar[0];
+ $area = $ar[1];
+
+ if(!empty($translations[$ce->id]['display_name'])) {
+ $terminals[$k][1] = $translations[$v[6]]['display_name'];
+ }
+
$displayArea = str_replace('_', ' ', $ar[1]);