allow custom date/time formats, closes #250