Sounds like you might be talking about 'The Doomsday Book' by Connie Willis. It ticks all the boxes—time-travel, historian, medieval setting, and meticulous details. Maybe check out the cover online to confirm if it's the green dress one you remember?