fixes #1010 sequential date formatstrings

safe / sequential replacing of formatstrings for date conversion

please review & test