Add date formatting helper method to transformer