Skip to content

Heatmap: Actions are shown on the previous day #6087

Closed
@siddweiker

Description

@siddweiker
  • Gitea version (or commit ref): dfad569 1.7.1 (docker image)
  • Git version: 2.18.1
  • Operating system: Alpine Linux 3.8 (docker image)
  • Database:
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (screenshots below)
    • No
    • Not relevant
  • Log gist: none

Description

Heatmap actions are shown on the previous day for actions in an EST (and beyond?) timezone.

Steps to reproduce:

  • Have your system time be in EST
  • Register and login to https://try.gitea.io
  • Create a repository and make a commit
  • View the heatmap and compare the date of the 2 actions that should be there

Screenshots

Here is a screenshot from my own gitea instance, the heatmap should show actions from Monday to Friday, instead they are shifted back one day.
image

From try.gitea.io, here is a combined screenshot to show the commit time and the heatmap action time:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions