# File lib/facet/time/to_s.rb, line 3 def to_s( format = nil ) case format when :db strftime("%Y-%m-%d %H:%M:%S") when :short strftime("%e %b %H:%M").strip when :long strftime("%B %e, %Y %H:%M").strip else stamp end end