summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreanplatter <eanplatter@gmail.com>2016-07-16 22:47:47 -0500
committereanplatter <eanplatter@gmail.com>2016-07-16 23:22:25 -0500
commit8b2a7a2d6c8f860120a2696c48956840910ded4a (patch)
treeda68103badd2bf06a32d22f34ffcb1306e1a772c
parent2550c1c2bc70beb14293eebb243a2f6f3039d04b (diff)
downloadgitlab-ce-8b2a7a2d6c8f860120a2696c48956840910ded4a.tar.gz
Fix activity heatmap to show proper day name.
-rw-r--r--CHANGELOG1
-rw-r--r--app/assets/javascripts/lib/utils/datetime_utility.js.coffee2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 5518429e1b5..9000bf07e55 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
Please view this file on the master branch, on stable branches it's out of date.
v 8.10.0 (unreleased)
+ - Fix profile activity heatmap to show correct day name (eanplatter)
- Expose {should,force}_remove_source_branch (Ben Boeckel)
- Disable PostgreSQL statement timeout during migrations
- Fix projects dropdown loading performance with a simplified api cal. !5113 (tiagonbotelho)
diff --git a/app/assets/javascripts/lib/utils/datetime_utility.js.coffee b/app/assets/javascripts/lib/utils/datetime_utility.js.coffee
index 178963fe0aa..2371e913844 100644
--- a/app/assets/javascripts/lib/utils/datetime_utility.js.coffee
+++ b/app/assets/javascripts/lib/utils/datetime_utility.js.coffee
@@ -2,7 +2,7 @@
w.gl ?= {}
w.gl.utils ?= {}
- w.gl.utils.days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
+ w.gl.utils.days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
w.gl.utils.formatDate = (datetime) ->
dateFormat(datetime, 'mmm d, yyyy h:MMtt Z')