diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 11:17:55 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 11:17:55 -0300 |
commit | acb199191080d25404f2b5b24e57517bf1b57336 (patch) | |
tree | 7bf7021472f7e734a18a849c8667cc947438e796 /activerecord/CHANGELOG.md | |
parent | bed2bdb17c50f72e61769c98cd839548da760ca9 (diff) | |
parent | 4157f5d172830df07b44a66d4096d152e068dc4a (diff) | |
download | rails-acb199191080d25404f2b5b24e57517bf1b57336.tar.gz rails-acb199191080d25404f2b5b24e57517bf1b57336.tar.bz2 rails-acb199191080d25404f2b5b24e57517bf1b57336.zip |
Merge pull request #18067 from kamipo/format_datetime_string_according_to_precision
Format the datetime string according to the precision of the datetime field.
Conflicts:
activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index d213d6afcf..88eb65aa4c 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,18 @@ +* Format the datetime string according to the precision of the datetime field. + + Incompatible to rounding behavior between MySQL 5.6 and earlier. + + In 5.5, when you insert `2014-08-17 12:30:00.999999` the fractional part + is ignored. In 5.6, it's rounded to `2014-08-17 12:30:01`: + + http://bugs.mysql.com/bug.php?id=68760 + + *Ryuta Kamizono* + +* Allow precision option for MySQL datetimes. + + *Ryuta Kamizono* + * Fixed automatic inverse_of for models nested in module. *Andrew McCloud* |