Handle Rails 4.1 change in DateTime precision

See https://github.com/rails/rails/commit/17f5d8e062909f1fcae25351834d8e89967b645e