activerecord-jdbc-adapter icon indicating copy to clipboard operation
activerecord-jdbc-adapter copied to clipboard

[postgres] Fix dates when using non-standard format

Open dr-itz opened this issue 5 years ago • 2 comments

Back-port from 52-stable

Date#to_s actually does the wrong thing when Date::DATE_FORMATS[:default] is set to something non-standard.

Fixes #1061

dr-itz avatar Apr 25 '20 21:04 dr-itz

I see some of these same suites failing on the 5.0 branch. Should they be green @enebo @kares @rdubya?

headius avatar Apr 29 '20 04:04 headius

@headius those few errors have always been on 50 and 51. @dr-itz has actually fixed some but we have largely been just moving forward at this point. 5.0 and 5.1 of rails are technically no longer supported by Rails and we said we would not either (although I am still spinning releases of them when we backport).

enebo avatar Apr 29 '20 14:04 enebo