class Gem::NoAliasYAMLTree

def format_time time

This is ported over from the yaml_tree in 1.9.3
def format_time time
  if time.utc?
    time.strftime("%Y-%m-%d %H:%M:%S.%9N Z")
  else
    time.strftime("%Y-%m-%d %H:%M:%S.%9N %:z")
  end
end