I think there is a timeline, but the show skip weeks at a time, and doesn't mention it. Otherwise there is no way Jon decides to leave Winterfell at the end of one episode, and shows up at Dragonstone the beginning of the next.