WordPress.org

Ready to get started?Download WordPress

Forums

phpBB Topics Portal
Time Zone change from UTC to LOCALE time (2 posts)

  1. Svend Rugaard
    Member
    Posted 1 year ago #

    I have use this plugin, and i cant seem to let me choose +2 hrs it just say UTC which is server time, isnt it possible to set the time as the forum actually shows ? ..

    http://wordpress.org/extend/plugins/phpbb-topics-portal/

  2. KeilaG
    Member
    Posted 1 year ago #

    1. Need to open the file phpbb_topics_portal_Guts.php in plugin folder

    2. Before the line $fmt_date = date($returnvar_a['date_format'],$ppost_time);
    write
    date_default_timezone_set('Europe/Moscow');

    3. Save the file

    Put your time zone instead of ('Europe/Moscow'):

    gmt-11 = (Pacific/Samoa)
    gmt-10 = (US/Hawaii)
    gmt-9 = (US/Alaska)
    gmt-8 = (America/Los_Angeles)
    gmt-7 = (America/Denver)
    gmt-6 = (America/Chicago)
    gmt-5 = (America/New_York)
    gmt-4 = (America/Caracas)
    gmt-3 = (America/Buenos_Aires)
    gmt-2 = (America/Sao_Paulo)
    gmt-1 = (Atlantic/Azores)
    gmt0 = (Europe/London)
    gmt+1 = (Europe/Berlin)
    gmt+2 = (Europe/Kiev)
    gmt+3 = (Europe/Moscow)
    gmt+4 = (Asia/Yerevan)
    gmt+5 = (Asia/Yekaterinburg)
    gmt+6 = (Asia/Novosibirsk)
    gmt+7 = (Asia/Krasnoyarsk)
    gmt+8 = (Asia/Singapore)
    gmt+9 = (Asia/Tokyo)
    gmt+10 = (Asia/Vladivostok)
    gmt+11 = (Australia/Sydney)
    gmt+12 = (Asia/Kamchatka)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.