Skip to content

AngularJS repository marked as being 51 years old #3185

Closed

Description

@tobimori

I know that this is probably caused due to broken unix timestamps in the repository, but it should be possible to exclude those broken timestamps.

angular/angular.js

Activity

  1. changed the title [-]AngularJS repository marked as being 51 years old.[/-] [+]AngularJS repository marked as being 51 years old[/+] on Jun 6, 2020
  2. fregante commented on Jun 6, 2020

    @fregante
    Member

    Good point. In this case the broken timestamp is the unix epoch, so it's easy to detect and discard:

    https://github.com/angular/angular.js/commit/866346e1ada583daeb649c253516c8f8a879c387.patch

    Repos that have this timestamp will simply be cached with false and ignored

  3. FloEdelmann commented on Jun 6, 2020

    @FloEdelmann
    Member

    I'm wondering why it says 51 years though, as 2020 minus 1970 equals 50. Is that GitHub's <relative-time> element rounding up?

  4. tobimori commented on Jun 6, 2020

    @tobimori
    Author

    I guess it's rounding up, because we're already in June.

  5. yakov116 commented on Jun 7, 2020

    @yakov116
    Member

    we could use this and filter out the 1990 ones

    {
      repository(owner: "angular", name: "angular.js") {
        ref(qualifiedName: "master") {
          target {
            ... on Commit {
              history(first: 5, after: "72fbd48f2a805e789fc574176e7a9a87979418d7 8996") {
                nodes {
                  committedDate
                  resourcePath
                }
              }
            }
          }
        }
      }
    }
  6. fregante commented on Jun 8, 2020

    @fregante
    Member

    Only it if that replaces the current fetchDom request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions