# File lib/active_support/time_with_zone.rb, line 126 def to_yaml(options = {}) if options.kind_of?(YAML::Emitter) utc.to_yaml(options) else time.to_yaml(options).gsub('Z', formatted_offset(true, 'Z')) end end