Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
230 views
in Q2A Core by

I can't change the timezone to GMT +7, I have tried:
- Edit qa-base file (line 137)

if (function_exists('date_default_timezone_set') && function_exists('date_default_timezone_get'))

@date_default_timezone_set("Asia/Ho_Chi_Minh"); 

- Try to set default timezone in qa-config.

- Check the date stored in database, and it's stored in GMT +7. So the problem is the PHP timezone.

So anyone have experience this? Please help me, thanks a lot.

Q2A version: 1.7.2

Please log in or register to answer this question.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...