lib/avo/fields/date_field.rb in avo-1.25.2 vs lib/avo/fields/date_field.rb in avo-2.0.0
- old
+ new
@@ -17,10 +17,10 @@
def formatted_value
return if value.blank?
if @format.is_a?(Symbol)
- value.to_formatted_s(@format)
+ value.to_s(@format)
else
value.strftime(@format)
end
end
end