Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add start and until date arguments to playback time reporting. (PP-273) #1376

Merged
merged 5 commits into from
Sep 18, 2023

Conversation

tdilauro
Copy link
Contributor

Description

Adds start and until date range to playback time reporting script.

Motivation and Context

Add ability to report on ad hoc date range. The default dates remain the same.

How Has This Been Tested?

  • Manual testing.
  • CI tests pass for branch.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

Copy link
Member

@jonathangreen jonathangreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but it might be nice to have a test for the new functionality.

@tdilauro tdilauro force-pushed the feature/playtime-report-date-ranges branch from d5ea5d4 to e50a646 Compare September 18, 2023 14:41
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (358caaa) 90.12% compared to head (e50a646) 90.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1376   +/-   ##
=======================================
  Coverage   90.12%   90.13%           
=======================================
  Files         219      219           
  Lines       29598    29626   +28     
  Branches     6832     6836    +4     
=======================================
+ Hits        26676    26704   +28     
  Misses       1879     1879           
  Partials     1043     1043           
Files Changed Coverage Δ
core/jobs/playtime_entries.py 98.73% <100.00%> (+0.69%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tdilauro
Copy link
Contributor Author

@jonathangreen Thanks for the feedback. Just by chance, the new tests unearthed a bug that wasn't specifically related to this PR. 😅

At any rate, this is ready for another look.

Copy link
Member

@jonathangreen jonathangreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Looks great Tim!

@tdilauro tdilauro merged commit e8e42ca into main Sep 18, 2023
@tdilauro tdilauro deleted the feature/playtime-report-date-ranges branch September 18, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants