app/controllers/api_controller/normalizer.rb
#
# Timetamps should all be in the XmlSchema form, an ISO 8601
# UTC time representation as follows: 2014-01-30T18:57:55Z
#
# Function takes either a Time string or Seconds since Epoch
#
Timetamps should all be in the XmlSchema form, an ISO 8601
UTC time representation as follows: 2014-01-30T18:57:55Z

Function takes either a Time string or Seconds since Epoch
Timetamps should all be in the XmlSchema form an ISO 8601 UTC time representation as follows : 2014 - 01 - 30T18 : 57 : 55Z Function takes either a Time string or Seconds since Epoch
def normalize_time(_type, value)
      return Time.at(value).utc.iso8601 if value.kind_of?(Integer)
      value.respond_to?(:utc) ? value.utc.iso8601 : value
    end
def normalize_time ( _type , value ) return Time . at ( value ) . utc . iso8601 if value . kind_of? ( Integer ) value . respond_to? ( :utc ) ? value . utc . iso8601 : value end
Timetamps should all be in the XmlSchema form, an ISO 8601
UTC time representation as follows: 2014-01-30T18:57:55Z
Timetamps should all be in the XmlSchema form an ISO 8601 UTC time representation as follows : 2014 - 01 - 30T18 : 57 : 55Z
_type
<not_specific>
value
<not_specific>