In 20w18a when the character goes to bed and wakes up afterward the time is still set at night at the same time right before the character went to bed in game.