• S
    Return correct date in ActiveModel for time to date conversions · eb73dfc0
    Sayan Chakraborty 提交于
    time.to_date conversion happens considering leap years
    so a conversion of "Day.new({'day(1i)'=>'1', 'day(2i)'=>'1', 'day(3i)'=>'1'})" results in saving the date as Mon, 03 Jan 0001
    which might seem weird on the user level, hence falling back to parsing on string level resolves this data mismatch
    Fixes #28521
    eb73dfc0
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 2.0 KB