You are here

function date_timezone_replacement in Date 6

Same name and namespace in other branches
  1. 5.2 date_timezone/date_timezone.module \date_timezone_replacement()
  2. 6.2 date_timezone/date_timezone.module \date_timezone_replacement()

Create replacement values for deprecated timezone names.

2 calls to date_timezone_replacement()
date_timezone_update_5200 in date_timezone/date_timezone.install
Get rid of deprecated timezone names.
date_update_5204 in date/date.install
Get rid of deprecated timezone names.

File

date_timezone/date_timezone.module, line 182
This module will make the alter the user and site timezone forms to select a timezone name instead of a timezone offset.

Code

function date_timezone_replacement($old) {
  include_once drupal_get_path('module', 'date_timezone') . '/date_timezone.install';
  return _date_timezone_replacement($old);
}