FWIW the options --to and --from are according to the man page accepting ISO 8601 dates, but in reality only a subset are:
$ get-activity --from 2024-07-01 --to 2024-08-01
Variable $from of type DateTime! was provided invalid value
Variable $to of type DateTime! was provided invalid value
None the less it may be helpful to say it's an RFC 3339 date as GitHub doesn't seem to support all the "fun" variants of ISO 8601, e.g. 2024-W29-1T00:00:00Z is also not accepted.
FWIW the options
--to
and--from
are according to the man page accepting ISO 8601 dates, but in reality only a subset are:Digging further I find that it is the GitHub API documentation that is wrong: https://docs.github.com/en/graphql/reference/scalars#datetime
None the less it may be helpful to say it's an RFC 3339 date as GitHub doesn't seem to support all the "fun" variants of ISO 8601, e.g.
2024-W29-1T00:00:00Z
is also not accepted.