Fix: use correct format options for dates in API