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