For some reason the system menu, Today & Tomorrow Channel and games like Animal Crossing: City Folk use the Gamecube epoch (1.1.2000) and not the Wii epoch despite being Wii titles. Here is my shot at it, it's not really a fix, some way to tell which to use would be the real fix, if that is possible.
This patch adds a checkbox to the Wii config tab under Misc Settings for "Use Gamecube Epoch". I also fixed Timer::GetLocalTimeSinceJan1970() to account for DST when reported by the system since the original method doesn't seem to.
I tweaked the epoch constants as well. I could only test Wii epoch with Alarmii homebrew because I don't have the ability to compile WRTC from SVN right now, so that could be totally wrong(most likely) but I have yet to find anything else that uses the Wii epoch.
I've tested it with as many things as I have access to. Mostly this was for my own use to fix the time when loading things that rely on it. I thought I would share in case someone could use it. Let me know if there is any issue.
This patch adds a checkbox to the Wii config tab under Misc Settings for "Use Gamecube Epoch". I also fixed Timer::GetLocalTimeSinceJan1970() to account for DST when reported by the system since the original method doesn't seem to.
I tweaked the epoch constants as well. I could only test Wii epoch with Alarmii homebrew because I don't have the ability to compile WRTC from SVN right now, so that could be totally wrong(most likely) but I have yet to find anything else that uses the Wii epoch.
I've tested it with as many things as I have access to. Mostly this was for my own use to fix the time when loading things that rely on it. I thought I would share in case someone could use it. Let me know if there is any issue.