Make date format configurable