class ActiveSupport::Messages::Metadata

def parse_expires_at(expires_at)

def parse_expires_at(expires_at)
  if ActiveSupport.use_standard_json_time_format
    Time.iso8601(expires_at)
  else
    Time.parse(expires_at)
  end
end