projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
780424a
)
TimeZone.php
author
leon
<leon@roojs.com>
Wed, 4 Oct 2023 02:33:07 +0000
(10:33 +0800)
committer
leon
<leon@roojs.com>
Wed, 4 Oct 2023 02:33:07 +0000
(10:33 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
8802978
..
9a549da
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-110,20
+110,5
@@
class Pman_Core_TimeZone extends Pman
return self::$timezones;
}
- static function getDisplayArea($timezone)
- {
- self::getOffsets();
-
- // invalid timezone
- if(!isset(self::$offsets[$timezone])) {
- return '';
- }
-
- $ar = explode('/', $timezone);
-
- // e.g. 'Hong_Kong (GMT +08:00)'
- return $ar[1] . ' (GMT ' . self::$offsets[$timezone] . ')';
- }
-
}
\ No newline at end of file