... | ... |
@@ -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 |