6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10804] some issues with the new weather block
*
Your Email Address
*
Spam protection
Enter the letters below:
__ .__. __ .__ . . / `| |/ `| \|\ | \__.|__\\__.|__/| \|
Comment
> This is exactly why the timeobjects driver sets the units after > getting the weather driver from the injector. The units *are* > determined on demand. When we request a value that can returned in > different units from either the current or period objects, the units > are checked and the appropriate units are returned. > > I'm reverting the changes because $_driver is actually never set in > the timeobjects driver anyway, and these changes break setting the > correct units. Also, getForecast() doesn't allow you to pass the > units...not sure where you see this at? > > I made changes not too long ago that deal with Google returning > whatever units it seems fit. I cannot reproduce this locally, using > the calendar block and the weather block, with the Google driver or > the Wwo driver (which is what the OP is using). I've tried using > Germal locale, with both European and US locations.
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