summaryrefslogtreecommitdiff
path: root/app/models/global_milestone.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-01-06 16:35:17 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-01-07 16:28:33 -0500
commit59305715e9d3569f47d7c2accc2106022c0a6960 (patch)
treef7a30f786312c880b4eeb6643b4502e263867eef /app/models/global_milestone.rb
parentb1539116f65c302729ca4130a30169295dcfc07e (diff)
downloadgitlab-ce-59305715e9d3569f47d7c2accc2106022c0a6960.tar.gz
Remove stamp gem
Closes #5908
Diffstat (limited to 'app/models/global_milestone.rb')
-rw-r--r--app/models/global_milestone.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/global_milestone.rb b/app/models/global_milestone.rb
index af1d7562ebe..4fa5825a5f3 100644
--- a/app/models/global_milestone.rb
+++ b/app/models/global_milestone.rb
@@ -121,9 +121,9 @@ class GlobalMilestone
def expires_at
if due_date
if due_date.past?
- "expired at #{due_date.stamp("Aug 21, 2011")}"
+ "expired at #{due_date.strftime('%b %-d, %Y')}"
else
- "expires at #{due_date.stamp("Aug 21, 2011")}"
+ "expires at #{due_date.strftime('%b %-d, %Y')}"
end
end
end