allow for both Fahrenheit and Celsius in one block

jrefano - January 9, 2009 - 16:11
Project:Weather
Version:6.x-5.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:toddy
Status:closed
Description

It would be great for an option to display both Fahrenheit and Celsius!

#1

jrefano - January 9, 2009 - 16:22

Actually, I just modified the module to do this myself.

I'm not that familiar with submitting a patch but I'll figure it out and come back.

#2

jrefano - January 9, 2009 - 16:43
Version:6.x-5.3» 6.x-5.x-dev
Component:Miscellaneous» Code
Assigned to:Anonymous» jrefano
Status:active» needs review

Here's my patch to allow for Celsius and Fahrenheit in one block. I added two options so you can pick what order you'd like them to appear in.

AttachmentSize
weather.patch 1.53 KB

#3

jrefano - January 9, 2009 - 20:17
Assigned to:jrefano» Anonymous

#4

toddy - January 16, 2009 - 16:48
Assigned to:Anonymous» toddy
Status:needs review» fixed

Hi,

thanks for the suggestion and the initial patch. You forgot to also enable this feature for the windchill temperature. However, this is now part of weather 6.x-5.4.

Regards,
Tobias

#5

System Message - January 30, 2009 - 16:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.