Skip to content

Wording in "last changed date" #4917

@hoellen

Description

@hoellen
  • Gitea version: d918e63
  • Git version: 2.18
  • Operating system: CentOS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

If the last changed date of a file in repository is more then 1.5 years ago, then it should say "2 years ago", instead of "1 year ago".
In the example screenshot you can see the last changes on the file has been made on 26 Nov 2016. And that is in my opinion more "2 years ago" then "1 year" atm.

Screenshots

grafik

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions