time syncing to browser local time for punishments
Is your feature request related to a problem? Please describe.
Some people find it hard to discern when exactly something happened. Makes it a challenge looking into old punishments when they have demos
Describe the solution you'd like
State the time zone used in the Sourcebans next to the time a punishment was issued.
it would be good if the time can be synced to browser local time. So members from each timezone can know when it was exactly added/punished for
Describe alternatives you've considered
No idea
Additional context
Could a quick win be to show the admins what the current time is on the web server? Can be added to a theme file, something like the below images using the code Web server time: {$smarty.now|date_format:'%d-%b %H:%M'}. Perhaps add it to the title/footer.tpl so it appears on all pages.
This feature is great, now i know, my mysql time ist correct, the time at Homepage is correct, but Sourceban, show a diffrent Time, but Why???? :-/
Is it hours or minutes out? If hours, it could be a timezone issue that (my code means) smarty isn't ~~handling~~ displayingcorrectly.
hmm hour, i installed it new or what can u say?
Edit page_admin.tpl line 110 to read:
Web server time: {$smarty.now|date_format:'%d-%b %H:%M %Z'}
And see what it says on screen.
This:Software Versions
Latest SB++ release: Please Wait... Latest Dev Git: Please Wait... Please Wait... Smarty: v5.4.1 Mootools: v1.2dev
and this:
Total Servers: 6 Total Admins: 32 Total Demo Size: 11.28 MB Web server time: 30-Dec 05:26
and a ajax called error: Error: the XML response that was returned from the server is invalid. Received: Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for sbpp.github.io failed: Temporary failure in name resolution in /www/wwwroot/sb.xloldies.de/includes/sb-callback.php on line 2606
Realtime 22:28
Server restart now ok :/ but the time, OK, it was an php.ini settings problem. But why the versions are diffrent?
Panel say: Latest SB++ release: 1.8.0 Latest Dev Git: 1320 You have the Latest Release. You have the Latest Dev Version. Smarty: v5.4.1 Mootools: v1.2dev
an footer say 1420...
SourceBans++ 1.8.0 | Git: 1420 Powered by SourceMod