method

format_time

ruby latest stable - Class: Psych::Visitors::YAMLTree
format_time(time)
private

No documentation available.

# File ext/psych/lib/psych/visitors/yaml_tree.rb, line 495
      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