fixes #7274 - generate date format expectation in tests to handle Ruby/JSON differences