The future temperature values are in Fahrenheit, but currently displayed as if in Celsius.

Comments

kubala.webdesign’s picture

Assigned: Unassigned » kubala.webdesign

Thank you for advice.

Unit system using by Google Weather is depended on site language.
I will add 'select unit system' option in next release.

Temporary you can just edit google_weather-block.tpl.php and manually change units in lines 18 and 36.

kubala.webdesign’s picture

Status: Active » Fixed

With current version (6x-1.1) you can set units system in "Administer › Site configuration › Weather Forecast from Google."

theposse’s picture

Hi...I installed the 1.1 update and am not seeing the "set units system" option. I ran update.php but that didn't help. Is there something that I'm missing? Also, is it possible to show the current temperature in Fahrenheit as well since future temperatures are being displayed in Fahrenheit? Thanks

kubala.webdesign’s picture

Hi theposse,

When you go to "Administer › Site configuration › Weather Forecast from Google" (example.com/admin/settings/google-weather), you should see "Unit system" below timeout connection settings.

If you don't see Weather Foreast from Google on Site Configuration page probably your user don't have configure weather forecast permission.

Also, is it possible to show the current temperature in Fahrenheit as well since future temperatures are being displayed in Fahrenheit?

Yes, since version 6x-1.1 you can choose a unit system (US (Fahrenheit) or SI (Celsius))
If needed - temperature will be automatic converted from one units to another.

theposse’s picture

Hello, thanks for getting back to me. I do have the configuration page but unfortunately there still isn't any "Unit System" box there. The timeout connection box is there as an FYI. I've checked permissions and they seem to be correct. Any additional help you could give would be greatly appreciated. Thanks!

kubala.webdesign’s picture

I think it may be a caching problem.
Would you try clear site's cache (example.com/admin/settings/performance, "clear cached data" at bottom)?

Nigelb’s picture

Hi, Curious - I can't see the unit system box either, and the module seems to be producing a centigrade figure for today's temperature, and Fahrenheit for the subsequent days - those these are marked "C". And in fact the screen grab on the module download page seems to be doing the same thing. Unless this is global warming gone mad, of course.

kubala.webdesign’s picture

I'm sorry it's my fault.
I just learn how to use CVS and unknowingly commit old 1.0 version as a 1.1.. forgive me.
By the way I also fix some related bugs (nobody can download "real" 6x-1.1 so nobody can report some issues).

Thanks for be patient.

Nigelb’s picture

Thanks for sorting that. All working now and a nice module to have. Nigel

theposse’s picture

Excellent! Thanks for fixing things; all is working well for our website now as well. Dennis

kubala.webdesign’s picture

Status: Fixed » Closed (fixed)