lib/simple/sql/helpers/decoder.rb in simple-sql-0.4.13 vs lib/simple/sql/helpers/decoder.rb in simple-sql-0.4.14

- old
+ new

@@ -5,10 +5,10 @@ extend self def parse_timestamp(s) r = ::Time.parse(s) return r if r.utc_offset == 0 - Time.gm(r.year, r.mon, r.day, r.hour, r.min, r.sec) + Time.gm(r.year, r.mon, r.day, r.hour, r.min, r.sec, r.usec) end # rubocop:disable Metrics/AbcSize # rubocop:disable Metrics/CyclomaticComplexity def decode_value(type, s)