lib/odata4/properties/time.rb in odata4-0.7.0 vs lib/odata4/properties/time.rb in odata4-0.8.0

- old
+ new

@@ -26,10 +26,10 @@ private def validate(value) unless value.is_a?(::Time) - raise ArgumentError, 'Value is not a time object' + validation_error 'Value is not a time object' end end def parse_value(value) value.strftime('%H:%M:%S%:z')