projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776a466
)
TimeZone.php
author
leon
<leon@roojs.com>
Tue, 3 Oct 2023 05:25:26 +0000
(13:25 +0800)
committer
leon
<leon@roojs.com>
Tue, 3 Oct 2023 05:25:26 +0000
(13:25 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
499341e
..
a9f1919
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-22,6
+22,10
@@
class Pman_Core_TimeZone extends Pman
foreach(self::$offsets as $tz => $o) {
$arr = explode('/', $tz);
+
+ if(!empty($_REQUEST['region']) && $_REQUEST['region'] != $arr[0]) {
+ continue;
+ }
$data[] = array(
'region' => $arr[0],
'area' => $arr[1],