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

chore(application-generic): moved the timed digest delay calculations #3417

Merged
merged 2 commits into from
May 15, 2023

Conversation

LetItRock
Copy link
Contributor

@LetItRock LetItRock commented May 15, 2023

What change does this PR introduce?

We've decided to move the calculations for the timed digest delay to the main repo. This is what is this PR about.

Tested it locally and it works fine.

Why was this change needed?

Other information (Screenshots)

@LetItRock LetItRock self-assigned this May 15, 2023
@linear
Copy link

linear bot commented May 15, 2023

NV-2318 Move the timed digest delay calculations to the application-generic

Why? (Context)

This is the decision we take because we have some problems checking out the submodules (with GitHub Desktop).

What?

Definition of Done

Copy link
Contributor

@p-fernandez p-fernandez left a comment

Choose a reason for hiding this comment

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

🌟

[OrdinalValueEnum.SUNDAY]: RRule.SU,
};

const ORDINAL_TO_RRULE_BYMONTHDAY = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const ORDINAL_TO_RRULE_BYMONTHDAY = {
const ORDINAL_TO_RRULE_BY_MONTH_DAY = {

Thus we also avoid spellcheck warning.

addWeeks,
addMonths,
} from 'date-fns';
import { RRule, Frequency, Weekday } from 'rrule';
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add rrule to spellcheck JSON.

@LetItRock LetItRock merged commit 99b5e1a into timed-digest May 15, 2023
@LetItRock LetItRock deleted the nv-2318-move-timed-digest-delay-calculations branch May 15, 2023 14:51
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.

3 participants