I'm need the chrono::Date
of the first and last date of a week from the current year.
I have two issues,
first I'm unable to get chrono
to parse the week of current year and second I'm unable to get the first/last date of the week. (There are a lot of solutions for other languages here, but not rust)
TLDR: I need a function like this:
fn x(week: isize) -> (Date<Local>, Date<Local>)
with the tuple being (first day of week, last day of week).