Sha256: cedb0e5e1621c677c456d2e5042e00f80435dc40f3f51bda25d19fc15a53b292
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
module ActiveRecord module ConnectionAdapters module SQLServer module Type class SmallDateTime < DateTime def type :smalldatetime end def sqlserver_type 'smalldatetime'.freeze end private def fast_string_to_time_format ::Time::DATE_FORMATS[:_sqlserver_datetime] end def apply_seconds_precision(value) value.change usec: 0 end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems