-
Every update we have to change the hard coded default tournament timezone to Africa/Johannesburg as UTC is waaaaaaay off from what we use
Below is the change made by our developer in order to make tournaments inherit the default timezone from the WordPress settings:
File: single-tournament.php
L 25 – ‘UTC’,
L 25 + ‘tournament_timezone’ => get_option(‘timezone_string’),File: tmp-single-tournament.php
L 49 – ‘UTC’,
L 49 + ‘tournament_timezone’ => get_option(‘timezone_string’),(I would use the code tags but it does not know wtf PHP is)
If The Skywarriors team could please look at making this permanent then Tournaments will always have a default timezone based on the websites local settings.
Some other issues we have with the tournaments dates and try fix ourselves:
Default start time – We modify this to be T+7 as 3 years in the future is crazy.
Date selection date format – It uses the horribly awkward american date format even though our regional settings are all not American. So during picking the month and days are reversed but after selection it shows in the Proper Date format.
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!