projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95aeb9a
)
TimeZone.php
author
leon
<leon@roojs.com>
Fri, 27 Oct 2023 05:11:48 +0000
(13:11 +0800)
committer
leon
<leon@roojs.com>
Fri, 27 Oct 2023 05:11:48 +0000
(13:11 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
fe21932
..
bf49608
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-117,7
+117,7
@@
class Pman_Core_TimeZone extends Pman
static function toDisplayName($dt, $tz)
{
- $ar = explode('/', $tz
->Name
);
+ $ar = explode('/', $tz);
return $ar[0] . '/' . str_replace('_', ' ', $ar[1]) . ' (GMT ' . self::toTimeOffset($dt,$tz) . ')';
}