Increases time delta by one to get the previous day stat by gurkanindibay · Pull Request #172 · citusdata/tools
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 13
Open
Increases time delta by one to get the previous day stat#172
gurkanindibay wants to merge 2 commits intodevelopfrom
Increases time delta by one to get the previous day stat#172
gurkanindibay wants to merge 2 commits intodevelopfrom
Conversation
hanefi and others added 2 commits
August 23, 2021 13:25See https://json.schemastore.org/github-workflow.json for the complete set of definitions. This commit fixes all the issues that are found on the default branch yaml files
gurkanindibay
force-pushed
the
develop
branch
from
aed6e06 to
84de918
Compare
onurctirtir approved these changes Sep 1, 2021
| stat_param = DockerStats(fetch_date=fetch_date, total_pull_count=total_pull_count, | ||
| daily_pull_count=daily_pull_count, | ||
| stat_date=fetch_date.date() - timedelta(days=i)) | ||
| stat_date=fetch_date.date() - timedelta(days=i+1)) |
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe just do for i in range(1, day_diff+1):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment