added date-pattern and date-shift