Raised This Month: $156 Target: $400
 39% 

Sourcebans showing wrong dates/time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
darkboy245
Senior Member
Join Date: Feb 2014
Old 09-08-2017 , 16:12   Sourcebans showing wrong dates/time
Reply With Quote #1

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
darkboy245 is offline
Cooky
AlliedModders Donor
Join Date: Jun 2010
Location: 127.0.0.1
Old 09-11-2017 , 02:28   Re: Sourcebans showing wrong dates/time
Reply With Quote #2

Set the correct time on your webserver... or ask your webhoster.
__________________
Cooky is offline
darkboy245
Senior Member
Join Date: Feb 2014
Old 09-11-2017 , 12:57   Re: Sourcebans showing wrong dates/time
Reply With Quote #3

Quote:
Originally Posted by Cooky View Post
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.
darkboy245 is offline
arne1288
SourceMod Moderator
Join Date: Apr 2012
Old 09-11-2017 , 13:56   Re: Sourcebans showing wrong dates/time
Reply With Quote #4

Admin Panel -> Settings

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

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread]
arne1288 is offline
darkboy245
Senior Member
Join Date: Feb 2014
Old 01-19-2018 , 08:20   Re: Sourcebans showing wrong dates/time
Reply With Quote #5

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
darkboy245 is offline
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 01-28-2018 , 20:37   Re: Sourcebans showing wrong dates/time
Reply With Quote #6

Quote:
Originally Posted by darkboy245 View Post
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
alansdit12 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:28.


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