graphql-python / gql

A GraphQL client in Python
https://gql.readthedocs.io
MIT License
1.56k stars 180 forks source link

The calculation of time span is not correct #482

Closed junluo-aspecta closed 5 months ago

junluo-aspecta commented 5 months ago

image Intuitively, the result of the first and second time period should be 0 cause the from and to are the same. And the last result will be 1 (which is the actually commit count of 2024-05-20) because the time span is just one day.

leszekhanusz commented 5 months ago

This issue does not seem to be related to gql.

junluo-aspecta commented 5 months ago

This issue does not seem to be related to gql.

Isn't is the method to collect data of gql not correct?