Fix up date handling in APIs