I have recently installed SuiteCRM version 8.0, and it is working fine. The problem which I am facing is that, all the records are being saved in UTC timezone, which is having a big issues with my users.
I tried changing the timezone from their user profile, but still, after making the changes in the profile timezone is no affect on the list nor other area of Suite CRM.
This is hopefully just a wee problem of configuration as its also how Suite7 work.
To allow for users in differing time zones crm data is saved as the “Locale” setting which is found in the admin menu and from there converted to the Time zone selected in User settings.
Ensure you have Locale configured to the main timezone, and then ask the users to ensure there timezone within advanced matches their own. At which point time and dates should be displayed properly.
Any further issues or questions please let me know!
Hi, in version 8.0.4, the timezone is still stucked in UTC (yes, even when changing the user profile local settings).
Does someone know if this has been fixed in a more recent version ? Or if there’s a plan to fix it soon ?
Have you tried using the most recent version: 8.1.2?
If not I’d suggest upgrading and giving it a go there. Keep in mind you also have a timezone option in “Locale” within the admin menu. Your timezone may also be defined by the time on the computer hosting the instance of Suite so it may need to be updated there.
i’m facing same issue in 7.14.1. I changed user’s time zone (Asia/Kolkata GMT + 5:30) in user profile advance section. but after user login it is set to again UTC GMT 0
Bu the way, I confirm that the timezone is only kept in the session and not saved into the DB. When I change it and refresh the page, it looks like it was saved. But when I open an incognito page and login there, timezone is not set. When I comeback to the normal window and refresh the page it is still set correctly.
So, it is not the login/logout resetting it, it just does not save it. Everything else on the user profile page is saved.
I am trying to write a hook as well but i cannot get it invoked under 8.7. I am new to this and I tried to use ChatGPT in instruct me but the folder structures are different under 8.7. Here is what ChatGPT tells me the below. In 8.7 custom folder is under public/legacy/custom.
Steps to Create a Logic Hook
Define the Logic Hook:
Edit the custom/modules/Users/logic_hooks.php file (create it if it doesn’t exist):
In my case, php.ini is fine. It is set to my timezone.
I managed to invoke the set timezone after login but even though it sets it (I confirm and print it by getting it), it still loses the timezone somewhere after the login is completed.
BECAUSE I AM NEW USR, IT WON’T LET ME ADD THIS TO THE THREAD. SO I AM EDITING MY OWN REPLY.
I found the bug and fixed it. In User.php line 869, it did not check whether the timezone was already set before setting it to default UTC in the case of no POST. I added the elseif section below.