projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e100a
)
TimeZone.php
author
leon
<leon@roojs.com>
Tue, 3 Oct 2023 02:39:01 +0000
(10:39 +0800)
committer
leon
<leon@roojs.com>
Tue, 3 Oct 2023 02:39:01 +0000
(10:39 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
67356d9
..
914a5ee
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-57,16
+57,10
@@
class Pman_Core_TimeZone extends Pman
$timezones = array();
while($ce->fetch()) {
- // ignroe timezone such as 'CET' and 'America/Argentina/Buenos_Aires'
- if(substr_count($ce->Name, '/') != 1) {
- continue;
+ if($timezone) {
+
}
-
$ar = explode('/', $ce->Name);
- // ignore timezone such as 'Etc/GMT+8'
- if($ar[0] == 'Etc') {
- continue;
- }
$data[] = array(
'region' => $ar[0],