diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-11-04 08:40:41 +0100 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-11-04 08:40:41 +0100 |
commit | 4feeecfdeff7defa19bbe300842e14118e869c02 (patch) | |
tree | 415bb9196526fd3195842cb6c9097bf6961f354a /plugins/date.rb | |
parent | 142681489f1a2aad7bc9f225ec7d7a0c1c476e09 (diff) | |
download | my_new_personal_website-4feeecfdeff7defa19bbe300842e14118e869c02.tar.xz my_new_personal_website-4feeecfdeff7defa19bbe300842e14118e869c02.zip |
Date format: Remove unnecessary escapement
Diffstat (limited to 'plugins/date.rb')
-rw-r--r-- | plugins/date.rb | 1 |
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 |