The MU forums have moved to WordPress.org

Hardcode default timezone? (3 posts)

  1. sgrunt
    Member
    Posted 13 years ago #

    My server is in the USA, but me and my user are in Europe.
    There is a way to hardcode Mu in order to set UTC +1 as default timezone? I can't do that manually for all new blogs.
    I've read in the forum to change the 275 line at schema.php in this way:

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

    but i don't know if this changes utc in my desired way: utc + 1

  2. MrBrian
    Member
    Posted 13 years ago #

    Look in the wp_X_options table for what gmt_offset value is set to. This can also be done with a plugin:
    http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-plugin/

  3. eswhite
    Member
    Posted 13 years ago #

    I second using the WMPU new blog settings plugin, but recommend the version for 2.6: http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/

About this Topic