Skip to content

Issue with changing commit dates on GitHub #32502

Closed
@Mirzoev-Parviz

Description

@Mirzoev-Parviz

Code of Conduct

What article on docs.github.com is affected?

I've encountered an issue with the functionality of changing commit dates and times on GitHub. When a user changes the date and time on their computer and makes a commit, these changes are accepted without any errors, even if they are dated in the past. As a result, the user's profile displays incorrect information about the dates and times of their commits, which can lead to misunderstandings regarding the user's activity.

You can check a years of activity in my account: https://github.com/Mirzoev-Parviz

What changes are you suggesting?

Steps to reproduce:

  1. Set an incorrect date and time on the computer.
  2. Make a commit in a repository on GitHub.

Expected behavior:

  • The system should check the dates and times of commits and reject commits that are dated in the past.

Actual behavior:

  • Commits dated in the past are accepted without any warnings or errors.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions