diff options
author | eanplatter <eanplatter@gmail.com> | 2016-07-17 06:47:47 +0300 |
---|---|---|
committer | eanplatter <eanplatter@gmail.com> | 2016-07-17 07:22:25 +0300 |
commit | 8b2a7a2d6c8f860120a2696c48956840910ded4a (patch) | |
tree | da68103badd2bf06a32d22f34ffcb1306e1a772c /app/assets/javascripts | |
parent | 2550c1c2bc70beb14293eebb243a2f6f3039d04b (diff) |
Fix activity heatmap to show proper day name.
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/lib/utils/datetime_utility.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
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') |