[Bugfix] fixing formatting of dates and durations