If you get a room at the tavern after midnight, you lose a whole day. Can the code go to the next 6 AM instead of 6 AM the following day?
I'll look into that, it shouldn't work this way