test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • gkpb fajar pengharapan Friend
    #999117

    How to set Time Zone to (UTC+07:00) bangkok,hanoi,jakarta ?
    the comment added today (01-03-2017) but in the article (01-02-2017)

    Mo0nlight Moderator
    #999420

    Hi,

    You can go to Administrtor -> System -> Global Configuration -> Server -> Location Settings -> Server Time Zone -> Bangkok

    See attachment.

    Regards


    1. Screen-Shot-2017-01-04-at-11.21.32-AM
    gkpb fajar pengharapan Friend
    #999735

    timezone in global configuration is correct, but not match with plugin Ja Comment

    Mo0nlight Moderator
    #1002978

    Hi,

    Open the file : components/com_jacomment/controllers/comments.php

    add this code

    date_default_timezone_set('Asia/Bangkok');

    above this:

    $post['date'] = date("Y-m-d H:i:s");

    around line : 1750

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Mo0nlight 7 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum