added configurable date format