mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-12-23 16:08:55 -05:00
Date format: Remove unnecessary escapement
This commit is contained in:
parent
142681489f
commit
4feeecfdef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user