Issue with Games Calendar

Just an FYI about the Games Calendar:

When you click forward to January 2023, it actually reverts back to January 2022.

Comments

  • This is an attempt to make us all feel younger, especially important for me..:)
  • MrCaspanMrCaspan Admin
    edited January 2023
    thanks Trigs. so have a look at the coding and see if that's the way it's designed or if it's a bug. A lot of these are just plugins that I installed
  • Yeah sorry Trigs just getting to this now. I am showing the same thing if you can also confirm if you go to December 2023 then got to Jan 2024 it actually goes to Jan 2023 even though the URL says https://pokerforum.ca/calendar/2024/01

    Just want to confirm this is the same issue you were seeing? It seems like if you put any year in the future than the current year in the URL it reverts back to this year.
    trigs
  • Heh did you know we have a "Year" view on this calendar? https://pokerforum.ca/calendar/2022 if you hit this URL with no month on it it shows all the dates that have games on it... Neat! We had a bunch of games last year!!
  • MrCaspanMrCaspan Admin
    edited January 2023
    Okay the bug has now been fixed I guess PHP likes to start counting at 0 instead of 1 and I was trying to prevent people from going further then current year + 1 but PHP saw that as this year. If there is any invalid date submitted its programed to just default to the current year and month. I removed the restriction and anyone can look at any date or year you want. Thanks for finding the bug Trigs, stupid programs!
    compueasetrigs
Sign In or Register to comment.