format dates in requests