Added date format options according to issue #256.