WordPress.org

Ready to get started?Download WordPress

Forums

Network Timezone Setting? (14 posts)

  1. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    This is probably easy-pickings for somebody: where is the timezone setting for the network?

    I'm noticing that upgrade-core.php is reporting its "last checked" date/time as GMT, which is confusing - but I can't find anywhere to set/verify the network timezone setting.

  2. There isn't one.

    I believe it defaults to GMT, but there's no setting to change it.

  3. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    There isn't one.

    I believe it defaults to GMT, but there's no setting to change it.

    Well, that's annoying! :)

    Would you recommend Plugin or patch, if I were to attempt to correct this omission?

  4. Depends on what you're using it for! :D

    Mine says Chicago Time, though, as I look at it right now, and if I change my MAIN site (ipstenu.org) to UTC-0, that changes as well. I wonder if that's a holdover from the old 'first site was main site' days? Try changing that.

  5. Can you define this in the config file tho?

    If not, I do know the new-blog-defaults plugin will set the timezone for you on new site.

  6. But that's just PER site, and not for the network settings (the new-blogs one). You should be able to control this in the config.

  7. Does upgrade-core just check against server time though, and convert to GMT?

  8. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    Does upgrade-core just check against server time though, and convert to GMT?

    The update-core.php file looks at the site date/time settings:

    printf( __('Last checked on %1$s at %2$s.'), date_i18n( get_option( 'date_format' ) ), date_i18n( get_option( 'time_format' ) ) );

    ...which is what got me wondering in the first place. I'm going to try @Ipstenu's suggestion really quickly:

    ...if I change my MAIN site (ipstenu.org) to UTC-0, that changes as well. I wonder if that's a holdover from the old 'first site was main site' days? Try changing that.

    ...and report back.

  9. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    @Ipstenu:

    if I change my MAIN site (ipstenu.org) to UTC-0, that changes as well. I wonder if that's a holdover from the old 'first site was main site' days? Try changing that.

    BRILLIANT!

    Worked flawlessly. So, next question: where would be the best place to document this behavior? (I tried a general Google search, and a Google site-search of the Codex, and couldn't find it.)

    If I can find the right place to link (or update) the Codex, this one will be resolved. Do you know the right place in the Codex, or should I maybe ask the wp-dics list?

  10. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

  11. I didn't think so, because that references http://codex.wordpress.org/Network_Admin_Settings_Screen y'know?

  12. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    I didn't think so, because that references http://codex.wordpress.org/Network_Admin_Settings_Screen y'know?

    Right, well... that's ultimately my point: it makes sense that a Network Admin would look for a setting to change the Network's timezone setting - and that such Network Admin would look for that setting in Network Admin -> Settings -> Network Settings.

    SO, a note in that section, pointing such users to Main Site -> Dashboard -> Settings -> General might be useful.

  13. Oh! Sure :) That makes sense. I'm gonna get more coffee.

Topic Closed

This topic has been closed to new replies.

About this Topic