AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Sourcebans showing wrong dates/time (https://forums.alliedmods.net/showthread.php?t=301119)

darkboy245 09-08-2017 16:12

Sourcebans showing wrong dates/time
 
When I ban someone it always shows up as if I banned him the next day, so if I banned him September 8th it shows as September 9th, how to fix this?
Thanks

Cooky 09-11-2017 02:28

Re: Sourcebans showing wrong dates/time
 
Set the correct time on your webserver... or ask your webhoster.

darkboy245 09-11-2017 12:57

Re: Sourcebans showing wrong dates/time
 
Quote:

Originally Posted by Cooky (Post 2548132)
Set the correct time on your webserver... or ask your webhoster.

Thank you very much, no clue how I didn't think about that myself.

arne1288 09-11-2017 13:56

Re: Sourcebans showing wrong dates/time
 
Admin Panel -> Settings

There should be a column called "Timezone", you can use that one to adjust to match your own local timezone.

darkboy245 01-19-2018 08:20

Re: Sourcebans showing wrong dates/time
 
Bumping this thread again, I've been having the same issue now but the only problem now is the actual time and not the date, time is not correct so if it's 3PM now it will show as 4PM, tried changing to a bunch of other time zones but nothing fixes it.
My server's timezone is GMT +2, I set it as GMT +2 on the sourcebans settings as well and on the server/host itself.
Any help would be appreciated

alansdit12 01-28-2018 20:37

Re: Sourcebans showing wrong dates/time
 
Quote:

Originally Posted by darkboy245 (Post 2572880)
Bumping this thread again, I've been having the same issue now but the only problem now is the actual time and not the date, time is not correct so if it's 3PM now it will show as 4PM, tried changing to a bunch of other time zones but nothing fixes it.
My server's timezone is GMT +2, I set it as GMT +2 on the sourcebans settings as well and on the server/host itself.
Any help would be appreciated

My approach for this problem was to add date.timezone in php.ini by using MultiPHP INI Editor provided by CPanel
https://i.imgur.com/xLmC9BX.png


All times are GMT -4. The time now is 11:26.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.