You are here

function date_timezone_replacement in Date 5.2

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

Create replacement values for deprecated timezone names.

1 call to date_timezone_replacement()
date_update_5204 in date/date.install
Get rid of deprecated timezone names.

File

date_timezone/date_timezone.module, line 238
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) {
  require_once './' . drupal_get_path('module', 'date_timezone') . '/date_timezone.install';
  return _date_timezone_replacement($old);
}