aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-11-04 08:40:41 +0100
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-11-04 08:40:41 +0100
commit4feeecfdeff7defa19bbe300842e14118e869c02 (patch)
tree415bb9196526fd3195842cb6c9097bf6961f354a /plugins
parent142681489f1a2aad7bc9f225ec7d7a0c1c476e09 (diff)
downloadmy_new_personal_website-4feeecfdeff7defa19bbe300842e14118e869c02.tar.xz
my_new_personal_website-4feeecfdeff7defa19bbe300842e14118e869c02.zip
Date format: Remove unnecessary escapement
Diffstat (limited to 'plugins')
-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