Fix dateformat parser to work with synthetic data generator