Skip to content

Optional in/within prefix for the en deadline rule - #51

Open
dualfroz wants to merge 1 commit into
olebedev:masterfrom
dualfroz:fix/21-deadline-without-prefix
Open

dualfroz wants to merge 1 commit into
olebedev:masterfrom
dualfroz:fix/21-deadline-without-prefix

Conversation

@dualfroz

@dualfroz dualfroz commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

went with what you described, en.Deadline(rules.Override, en.DeadlineOptions{Aggressive: true}) makes the prefix optional so 2 hours matches too. default behaviour and en.All stay the same

Fixes #21

@dualfroz
dualfroz requested a review from olebedev as a code owner October 3, 2026 12:24
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.

Is it possible to have 'deadlines' extended to work without 'in/within'

1 participant