lib/openwfe/util/otime.rb in openwferu-0.9.11 vs lib/openwfe/util/otime.rb in openwferu-0.9.12
- old
+ new
@@ -62,10 +62,10 @@
date = to_datetime(date)
elsif not date.kind_of? Date
date = DateTime.parse(date)
end
- s = date.to_s
+ s = date.to_s # this is costly
s[10] = " "
return s
end