The current version of the 'ads-github-show-rate-limits' tool by default shows the "reset date" as the number of seconds since the Unix epoch (which is roughly defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970). This is how the data is retrieved from the upstream GitHub v3 API, and is useful for piping the data to downstream tools.
If the '-h' (--human-readable) option is specified, then the date is shown in a more readable format of the user's localtime (e.g., "2016-05-22 12:33:42-04:00").
While it is useful that the above format shows the offset from UTC, it would also be useful to have the formatted date shown directly in UTC if requested.
The current version of the
'ads-github-show-rate-limits'tool by default shows the "reset date" as the number of seconds since the Unix epoch (which is roughly defined as the number of seconds that have elapsed since00:00:00Coordinated Universal Time (UTC), Thursday, 1 January1970). This is how the data is retrieved from the upstream GitHub v3 API, and is useful for piping the data to downstream tools.If the
'-h'(--human-readable) option is specified, then the date is shown in a more readable format of the user's localtime (e.g.,"2016-05-22 12:33:42-04:00").While it is useful that the above format shows the offset from UTC, it would also be useful to have the formatted date shown directly in UTC if requested.