fix up date handling in desktop