Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Date format: Remove unnecessary escapement

  • Loading branch information...
commit 4feeecfdeff7defa19bbe300842e14118e869c02 1 parent 1426814
@fhemberger fhemberger authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  plugins/date.rb
View
1  plugins/date.rb
@@ -36,7 +36,6 @@ def format_date(date, format)
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
Please sign in to comment.
Something went wrong with that request. Please try again.