PG::SimpleEncoder
# File lib/pg/text_encoder.rb, line 7 def encode(value) value.respond_to?(:strftime) ? value.strftime(STRFTIME_ISO_DATE) : value end