Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-09-14 05:43:25 +0300
committerClement Ho <ClemMakesApps@gmail.com>2016-09-16 22:38:59 +0300
commita147b43dcce7da64512efed392041c37ef45851c (patch)
tree65bc121dbcc8e5c7fe3d3add1dbbcbc00859a407 /app/assets/javascripts/users
parent1c2aa4f879bdcbfca6c2dd5e52ec486f9995801b (diff)
Replace contributions calendar timezone payload with dates
Diffstat (limited to 'app/assets/javascripts/users')
-rw-r--r--app/assets/javascripts/users/calendar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/users/calendar.js b/app/assets/javascripts/users/calendar.js
index b8da7c4f297..3bd4c3c066f 100644
--- a/app/assets/javascripts/users/calendar.js
+++ b/app/assets/javascripts/users/calendar.js
@@ -29,7 +29,7 @@
date.setDate(date.getDate() + i);
var day = date.getDay();
- var count = timestamps[date.getTime() * 0.001];
+ var count = timestamps[dateFormat(date, 'yyyy-mm-dd')];
// Create a new group array if this is the first day of the week
// or if is first object