Zero contributions in summary of activity when contributions were made

Summary

On a user's activity page, in the summary of activity visualization, the square is gray when you hover over a date and it says 0 contributions. However when you click on the date there are contributions below the visualization. The visualizations works as expected about 95% of the time but there is a period of time during the day when a contribution is made and the contribution is not "counted" in the visualization.

Steps to reproduce

  1. Set the timezone to CST.
  2. Make contributions around 8:00pm (20:00) CST.
  3. Check the activity visualization and the square for the date will show 0 contributions for the day. When you click on the date, it will show the contributions you made.

What is the current bug behavior?

When you make a contribution during a certain period of time during the day, the contribution is not "counted" in the visualization.

What is the expected correct behavior?

The box for the day should be colored and tool tip should indicate the number of contributions you have made for the day.

Relevant logs and/or screenshots

Capture

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Ubuntu 16.04 Proxy: no Current User: Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:5.0.0

GitLab information Version: 9.2.2-ee Revision: b004167 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.1 URL: HTTP Clone URL: /some-group/some-project.git SSH Clone URL: :some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no

GitLab Shell Version: 5.0.4 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab Shell ...

GitLab Shell version >= 5.0.4 ? ... OK (5.0.4) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by chdoc:root, or chdoc:chdoc? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 11/1 ... ok 4/2 ... ok 4/5 ... ok 4/6 ... ok 3/7 ... ok 4/8 ... ok 4/9 ... ok 15/11 ... ok 15/12 ... ok 11/13 ... ok 11/14 ... ok 4/16 ... ok 11/17 ... ok 17/18 ... ok 11/19 ... ok 15/20 ... ok 17/21 ... ok 16/22 ... ok 11/23 ... ok 4/24 ... ok 11/25 ... ok 11/26 ... repository is empty 11/27 ... ok 11/28 ... ok 3/29 ... ok 13/30 ... ok 13/31 ... ok 3/32 ... ok 11/33 ... ok 17/34 ... ok 13/35 ... ok 16/36 ... ok 11/37 ... ok 11/38 ... ok 4/39 ... ok 14/40 ... ok 15/41 ... repository is empty 7/42 ... ok 3/43 ... ok 12/44 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 11/1 ... yes 4/2 ... yes 4/5 ... yes 4/6 ... yes 3/7 ... yes 4/8 ... yes 4/9 ... yes 15/11 ... yes 15/12 ... yes 11/13 ... yes 11/14 ... yes 4/16 ... yes 11/17 ... yes 17/18 ... yes 11/19 ... yes 15/20 ... yes 17/21 ... yes 16/22 ... yes 11/23 ... yes 4/24 ... yes 11/25 ... yes 11/26 ... yes 11/27 ... yes 11/28 ... yes 3/29 ... yes 13/30 ... yes 13/31 ... yes 3/32 ... yes 11/33 ... yes 17/34 ... yes 13/35 ... yes 16/36 ... yes 11/37 ... yes 11/38 ... yes 4/39 ... yes 14/40 ... yes 15/41 ... yes 7/42 ... yes 3/43 ... yes 12/44 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.11.1) Active users: 4

Checking GitLab ... Finished

Possible fixes

Unknown, perhaps the visualization is based on another timezone.

/label ~bug

Edited Jun 01, 2017 by CHESS
Assignee Loading
Time tracking Loading