lib/ruote/util/time.rb in ruote-2.1.3 vs lib/ruote/util/time.rb in ruote-2.1.4
- old
+ new
@@ -45,10 +45,10 @@
#
# like "2009/11/23 11:11:50.947109 UTC"
#
def self.time_to_utc_s (t)
- "#{t.utc.strftime('%Y/%m/%d %H:%M:%S')}.#{sprintf('%06d', t.usec)} UTC"
+ "#{t.utc.strftime('%Y-%m-%d %H:%M:%S')}.#{sprintf('%06d', t.usec)} UTC"
end
# Returns a parsable representation of the UTC time now.
#
# like "2009/11/23 11:11:50.947109 UTC"