date['start']['date']).' '.sprintf("%02d", $event->date['start']['hour']).':'.sprintf("%02d", $event->date['start']['minutes']).' '.$event->date['start']['ampm']; $weather = $this->get_weather_visualcrossing($visual_crossing, $lat, $lng, $date); $imperial = isset($settings['weather_module_imperial_units']) && $settings['weather_module_imperial_units']; // Weather not found! if(!is_array($weather) || !count($weather)) return; ?>

weather_unit_convert($weather['temp'], 'C_TO_F')); ?>
: weather_unit_convert($weather['windspeed'], 'KM_TO_M')); ?>
:
: weather_unit_convert($weather['visibility'], 'KM_TO_M')); ?>