Here is my code. It seems to me like it should work. But when my clock is set to Wednesday 22:59 (displaying as "Wednesday 10:59 PM" and I run this method the time ticks to "Thursday 11:00 PM".
I'd really like to keep the day increment in the method with timeTick.
Are you testing just what happens at 24:00, or are you also checking other nearby values? Try starting at 23:57 or so and executing several consecutive timeTick() calls (checking results after each one).