The MU forums have moved to WordPress.org

HOWTO Change Timezone automagical? (4 posts)

  1. alexz
    Member
    Posted 16 years ago #

    When my users register they get automatical -7 in the timezone setting.

    I would like to have +2.

    Note that I also have the possibilty to change the php.ini.

  2. qza
    Member
    Posted 16 years ago #

    It's in wp-admin/upgrade-schema.php. Look for gmt offset option and set it like this:

    add_option('gmt_offset', 2);
  3. jamessketch
    Member
    Posted 16 years ago #

    Sorry for asking more but there is (according to me) only one line that relates to this:

    275: add_option('gmt_offset', date('Z') / 3600);

    Does this really means that the timezone will be moved to -8?

    Thank you qza.
    James

  4. selad
    Member
    Posted 16 years ago #

    If you don't want to change core files you can use the WPMU new blog settings plugin.

About this Topic