diff options
author | Andrew White <andrew.white@unboxed.co> | 2018-03-11 18:30:19 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2018-03-11 18:30:19 +0000 |
commit | 7c479cbf6211d7efadc0a9573cf82c05291f7ef1 (patch) | |
tree | 01b4fed3ccf05af042af1af1f91f71730ec55a5e /activesupport/test/number_helper_test.rb | |
parent | 3f95054f1c5ffe9e9b3bccdabc1ab1a7a4beb24a (diff) | |
download | rails-7c479cbf6211d7efadc0a9573cf82c05291f7ef1.tar.gz rails-7c479cbf6211d7efadc0a9573cf82c05291f7ef1.tar.bz2 rails-7c479cbf6211d7efadc0a9573cf82c05291f7ef1.zip |
Ensure that leading date is stripped by quoted_time
In #24542, quoted_time was introduced to strip the leading date
component for time columns because it was having a significant
effect in mariadb. However, it assumed that the date component
was always 2000-01-01 which isn't the case, especially if the
source wasn't another time column.
Diffstat (limited to 'activesupport/test/number_helper_test.rb')
0 files changed, 0 insertions, 0 deletions