AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Module: Aws::Record::Marshalers::Iso8601Formatter

Defined in:
lib/aws-record/record/marshalers/date_marshaler.rb,
lib/aws-record/record/marshalers/time_marshaler.rb,
lib/aws-record/record/marshalers/date_time_marshaler.rb

Class Method Summary collapse

Class Method Details

.format(datetime) ⇒ Object



54
55
56
# File 'lib/aws-record/record/marshalers/date_marshaler.rb', line 54

def self.format(date)
  date.iso8601
end