lib/teasy/floating_time.rb in teasy-0.2.7 vs lib/teasy/floating_time.rb in teasy-0.2.8

- old
+ new

@@ -112,9 +112,9 @@ zone_directives_matcher =~ format end def prefix_zone_info(format) # prefixes zone directives with a % s.t. they are ignored in strftime - format.gsub(zone_directives_matcher) { |m| '%' + m } + format.gsub(zone_directives_matcher) { |m| "%#{m}" } end end end