Browse code

Date format: Remove unnecessary escapement

Frederic Hemberger authored on 04/11/2011 at 07:40:41
Showing 1 changed files
... ...
@@ -36,7 +36,6 @@ module Octopress
36 36
       if format.nil? || format.empty? || format == "ordinal"
37 37
         date_formatted = ordinalize(date)
38 38
       else
39
-        format.gsub!(/%o/, '%%o')
40 39
         date_formatted = date.strftime(format)
41 40
         date_formatted.gsub!(/%o/, ordinal(date.strftime('%e').to_i))
42 41
       end