Invalid parameters in calls to WT_Date::Display()