diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-09-13 21:43:25 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2016-09-16 14:38:59 -0500 |
commit | a147b43dcce7da64512efed392041c37ef45851c (patch) | |
tree | 65bc121dbcc8e5c7fe3d3add1dbbcbc00859a407 /app/assets | |
parent | 1c2aa4f879bdcbfca6c2dd5e52ec486f9995801b (diff) | |
download | gitlab-ce-a147b43dcce7da64512efed392041c37ef45851c.tar.gz |
Replace contributions calendar timezone payload with dates
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/users/calendar.js | 2 |
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 |