Skip to content

Activity page: commit day labels before yesterday seem to be one day off #1248

@nimmerland

Description

@nimmerland

gitblit 1.8.0 GO, on win7, java8, firefox 54.0.1,
language setting DE (EN also tested and used for screenshots)

Hi,

on the activity page that shows the latest number of commits are labels for grouping the commits by day (like today, yesterday). For today and yesterday those labels are correct.

But right after yesterday shows a label '3 days ago' which has commits from 2 days ago. The tooltip for the commit time label however does correctly show '2 days ago':
gitblit180_daylabels_activitypage_wrong2 gitblit180_daylabels_activitypage_wrong

On the my dashboard page the same commits are also shown correctly as '2 days ago'.
gitblit180_daylabels_mydashboard_correct

Thanks for everyones efforts on gitblit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions