Tournament TimeZone inherit from WP Settings(And other issues)

  • Resolved
    Posted in: Arcane  
  • Member
    Xergxes7
    November 27, 2017 at 6:39 am #106622

    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.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.