DaveTheBrave wrote: ↑
Thu Mar 14, 2019 4:47 am
...instead of it being the current year "2019", it displays the year "1984"?
If you're looking for a visual effect only, try going into your user control panel (UCP) and in the Board Preferences section select "Custom..." for the "Date format:" field. And then in the PHP date formatting tokens that are presented, change the "Y" (four-letter year
) to literally "1984".
In the PHP date formatting code, any characters which are not valid date placeholders "will be printed as-is". "1984" does not represent a valid PHP formatting character, and will be printed as-is everywhere the date format is used to display a date. So regardless of what year is in the actual date, it will display as 1984.
If you like that, there probably is a way to force that out as the default date format for all users. Setting it as the board's default date format should address getting new users to have this format.
Something more complicated, like "2019 should be shown as 1984, 2018 should be shown as 1983, 2017 should be shown as 1982, etc." and then "in 2020 it will be 2020 that is now shown as 1984, and 2019 becomes shown as 1983, and 2018 becomes shown as 1982, etc.", would probably need to be custom code added to datetime.php. To adjust the base date by a 1984-derived offset before allowing the date format code to then continue normally.
I do recommend that you don't try and run the actual web server with it's system date set to 1984. That would create the visual effect, but should open up a different set of problems. Manipulating "Date format:" keeps things "for display purposes only".