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 logic to allow ISO 8601 duration strings #2975

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hmalik88
Copy link
Contributor

@hmalik88 hmalik88 commented Dec 24, 2024

Closes #2965

This eliminates the need for some util to provide devs to make it easier to schedule an event. The ISO 8601 standard already provides us with Durations. Luxon provides a class to parse them and as such we can accept duration strings as well to make it simpler to schedule an event.

@hmalik88 hmalik88 marked this pull request as ready for review December 24, 2024 22:41
@hmalik88 hmalik88 requested a review from a team as a code owner December 24, 2024 22:41
Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.71%. Comparing base (3e615f5) to head (b905040).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2975   +/-   ##
=======================================
  Coverage   94.71%   94.71%           
=======================================
  Files         497      497           
  Lines       10802    10810    +8     
  Branches     1649     1652    +3     
=======================================
+ Hits        10231    10239    +8     
  Misses        571      571           

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

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.

Write util that handles creating an ISO 8601 string for snap_scheduleBackgroundEvent
2 participants