summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-02-28 23:08:21 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-02-28 23:08:21 +0000
commitb2d5869e08f9f4a790b61f53007b3ff0a467ebc9 (patch)
treed2fc4293f2171ec56a4b08807e34e5919308ad64 /app/helpers
parent4c4810b35b3b1729865640382b4c7e593f8b876d (diff)
parent3daf142fefa30611ba74f844227078b23d8bd9e8 (diff)
downloadgitlab-ce-b2d5869e08f9f4a790b61f53007b3ff0a467ebc9.tar.gz
Merge branch '23602-show-milestone-id-in-a-consistent-way' into 'master'
Show milestone ID in a consistent way Closes #23602 See merge request !8820
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/milestones_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb
index 729928ce1dd..7011e670cee 100644
--- a/app/helpers/milestones_helper.rb
+++ b/app/helpers/milestones_helper.rb
@@ -97,7 +97,7 @@ module MilestonesHelper
def milestone_date_range(milestone)
if milestone.start_date && milestone.due_date
- "#{milestone.start_date.to_s(:medium)} - #{milestone.due_date.to_s(:medium)}"
+ "#{milestone.start_date.to_s(:medium)}–#{milestone.due_date.to_s(:medium)}"
elsif milestone.due_date
if milestone.due_date.past?
"expired on #{milestone.due_date.to_s(:medium)}"