Compare commits

..

1 Commits

Author SHA1 Message Date
8181cc823e chore: enable Clippy pedantic lints
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 6s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 7s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 6s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 10s
GitLeaks check / GitLeaks check (pull_request) Successful in 14s
hadolint check / hadolint check (pull_request) Successful in 14s
Prettier check / Prettier check (pull_request) Successful in 40s
markdownlint check / markdownlint check (pull_request) Successful in 43s
htmlhint check / htmlhint check (pull_request) Successful in 51s
checkov check / checkov check (pull_request) Successful in 1m35s
Stylelint check / Stylelint check (pull_request) Successful in 29s
ShellCheck check / ShellCheck check (pull_request) Successful in 31s
yamllint check / yamllint check (pull_request) Successful in 35s
Rust check / Rust check (pull_request) Failing after 2m1s
2026-02-09 19:50:21 +01:00

View File

@@ -152,11 +152,11 @@ pub(crate) async fn complete_task(task_id: i32) -> Result<Task> {
*date = NaiveDate::from_ymd_opt(
date.year(),
date.month(),
reoccurrence.start_date.day().min(u32::from(
Month::try_from(u8::try_from(date.month()).unwrap())
reoccurrence.start_date.day().min(
u32::from(Month::try_from(u8::try_from(date.month()).unwrap())
.unwrap()
.length(date.year()),
)),
.length(date.year())),
),
)
.unwrap();
}