-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong PHP Server Time #16401
Comments
Hello, What version of Dolibarr ? There were some fix regarding this in V13.0.1 |
@ksar-ksar still present in V13.0.1 Environment Time of posting: 11:17 am UTC -6 (PHP server time is correct) |
I am currently on V13.0.0 |
Hello, Your PHP server configuration seems wrong. |
Hi @ksar-ksar Thank you for your reply, I know it seems wrong configuration. The thing is PHP server Time is correct. and the client doesn't even windows seems to be fine. Any hint as of what can be wrong? |
@ksar-ksar, Closing this case. @Toni-RS, In httpd.conf (\xampp\apache\conf\httpd.conf) , add the following line: |
I know seems to be less of a Dolibarr issue, it is rather a Xampp issue that i haven't been able to figure out yet.
In 'About Dolibarr' section, I saw the date on the "=> PHP Time (server)" & " => Client time (user)" is wrong. Although the TimeZone is correct.
Was not able to find answers online. Since I am using Dolibarr on Xampp, this is the community I reach out to.
Screen shots attached.
I came across the below and tried these three steps amongst others, but still getting wrong date & time.
"Europe/Moscow" was replaced by "Asia/Kolkata" in all the instances.
|||||||||||||||||
Try this
SetEnv TZ Europe/Moscow
date.timezone = "Europe/Moscow"
default-time-zone = "Europe/Moscow"
Restart Apache and MySQL
||||||||||||||||
Steps to reproduce the behavior
Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)
The text was updated successfully, but these errors were encountered: