You are here

function _yr_periods in Yr Weatherdata 6

Helper function to resolve periods of forecast.

Return value

Returns an array with simple hour notations in a 24H format.

2 calls to _yr_periods()
theme_yr_verdata_location_block in ./yr_verdata.module
theme_yr_verdata_location_page in ./yr_verdata.module
Theming of a page with detailed forecast for a location.

File

./yr_verdata.module, line 772
yr_verdata.module This file provides the yr_verdata forecast module.

Code

function _yr_periods() {
  return array(
    0 => '00-06',
    1 => '06-12',
    2 => '12-18',
    3 => '18-00',
  );
}