projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
49f727a
)
TimeZone.php
author
leon
<leon@roojs.com>
Tue, 3 Oct 2023 03:15:13 +0000
(11:15 +0800)
committer
leon
<leon@roojs.com>
Tue, 3 Oct 2023 03:15:13 +0000
(11:15 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
556f24e
..
8815cc4
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-91,18
+91,6
@@
class Pman_Core_TimeZone extends Pman
return self::$timezones;
}
return self::$timezones;
}
- static function getOffset($timezone)
- {
- self::getTimezones();
-
- // invalid timezone
- if(!isset(self::$timezones[$timezone])) {
- return '';
- }
-
- $offset = substr(self::$timezones[$timezone], 0, 1) == '-' ? self::$timezones[$timezone] : '+' . self::$timezones[$timezone]
- }
-
static function getDisplayArea($timezone)
{
self::getTimezones();
static function getDisplayArea($timezone)
{
self::getTimezones();