aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/date.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/date.rb b/plugins/date.rb
index 8758f23f..b864f3e9 100644
--- a/plugins/date.rb
+++ b/plugins/date.rb
@@ -36,7 +36,6 @@ module Octopress
if format.nil? || format.empty? || format == "ordinal"
date_formatted = ordinalize(date)
else
- format.gsub!(/%o/, '%%o')
date_formatted = date.strftime(format)
date_formatted.gsub!(/%o/, ordinal(date.strftime('%e').to_i))
end