Skip to content

GitHub the default from date (1970-01-01) is not working #865

@zhquan

Description

@zhquan

Perceval cannot fetch data using the default from date, but it works since 1970-01-01T08:00:00. I think this error comes from the GitHub API.

Examples of the executions:

  • default or 1970-01-01T00:00:00
$ perceval github chaoss grimoirelab-core -t *** > /dev/null
[2025-04-25 13:58:49,643] - Sir Perceval is on his quest.
[2025-04-25 13:58:50,142] - Summary of results

	   Total items: 	0
	Items produced: 	0
	 Items skipped: 	0

	Last item UUID: 	-
	Last item date: 	-

	Min. item date: 	-
	Max. item date: 	-

	Min. offset: 	-	Max. offset: 	-	Last offset: 	-


[2025-04-25 13:58:50,143] - Sir Perceval completed his quest.

$ perceval github chaoss grimoirelab-core -t *** --from-date 1970-01-01T00:00:00 > /dev/null
[2025-04-25 13:58:43,918] - Sir Perceval is on his quest.
[2025-04-25 13:58:44,386] - Summary of results

	   Total items: 	0
	Items produced: 	0
	 Items skipped: 	0

	Last item UUID: 	-
	Last item date: 	-

	Min. item date: 	-
	Max. item date: 	-

	Min. offset: 	-	Max. offset: 	-	Last offset: 	-


[2025-04-25 13:58:44,389] - Sir Perceval completed his quest.
  • 1970-01-01T08:00:00
$ perceval github chaoss grimoirelab-core -t *** --from-date 1970-01-01T08:00:00 > /dev/null
[2025-04-25 13:58:30,716] - Sir Perceval is on his quest.
[2025-04-25 13:58:35,533] - Summary of results

	   Total items: 	50
	Items produced: 	50
	 Items skipped: 	0

	Last item UUID: 	1bad5e7589efa3632f48cb88e74a866926894c04
	Last item date: 	2025-04-25 07:56:50+00:00

	Min. item date: 	2024-01-09 11:26:26+00:00
	Max. item date: 	2025-04-25 07:56:50+00:00

	Min. offset: 	-	Max. offset: 	-	Last offset: 	-


[2025-04-25 13:58:35,535] - Sir Perceval completed his quest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions