You are here

function _yr_verdata_date_format in Yr Weatherdata 6.2

Same name and namespace in other branches
  1. 7 yr_verdata.module \_yr_verdata_date_format()

Function for returning the date format variable set in yr_verdata settings.

2 calls to _yr_verdata_date_format()
yr_verdata_generate in ./yr_verdata.module
Function for generating a forecast for a location. This function should only be called after having checked if there is an up-to-date cache available, as this will load and parse an xml-file, possibly getting it from a remote host first, which is…
yr_verdata_generate_forecastboxes in ./yr_verdata.module
Function for generating one or more forecast boxes for given periods.

File

./yr_verdata.module, line 1156
yr_verdata.module This file contains the code for getting the forecast from yr.no and displaying it on a Drupal site.

Code

function _yr_verdata_date_format() {
  return variable_get('date_format_short', 'm/d/Y - H:i');
}