6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13083] WWO weather local time incorrect (UTC)
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ ._.. . __. | |[__) | |_/ (__ |__|| _|_| \.__)
Comment
> Looks like WWO changed their API. Local time is displayed on Horde > portal weather block as UTC. You need to make two code changes to get > local time in correct timezone: > > .\framework\Service_Weather\lib\Horde\Service\Weather > > line 184 is: > > 'localObsTime' => 'yes')); > > line 184 should be: > > 'extra' => 'localObsTime')); > > .\framework\Service_Weather\lib\Horde\Service\Weather\Current\Wwo.php > > line 51 is: > > return new Horde_Date($this->_properties->observation_time); > > line 51 should be: > > return new Horde_Date($this->_properties->localObsDateTime); > > That's all.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers