xeroizer-float 2.15.3.2 → 2.15.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/xeroizer/record/xml_helper.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.15.3.
|
1
|
+
2.15.3.3
|
@@ -25,7 +25,7 @@ module Xeroizer
|
|
25
25
|
when :decimal then BigDecimal.new(element.text)
|
26
26
|
when :date then Date.parse(element.text)
|
27
27
|
when :datetime then Time.parse(element.text)
|
28
|
-
when :datetime_utc then ActiveSupport::TimeZone['UTC'].parse(element.text).utc
|
28
|
+
when :datetime_utc then ActiveSupport::TimeZone['UTC'].parse(element.text).utc.round(3)
|
29
29
|
when :belongs_to
|
30
30
|
model_name = field[:model_name] ? field[:model_name].to_sym : element.name.to_sym
|
31
31
|
Xeroizer::Record.const_get(model_name).build_from_node(element, parent)
|