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

ffi-yajl 1.1.0 changed the date format, so this simply regenerates the expected value depending on the current environment, as we already know it changes between Ruby versions too.