Collect start date and reminder state

Already fetch the start date and reminder state for issues immediately
and have them available in the struct Task.
This commit is contained in:
Rahix 2026-03-05 20:39:26 +01:00
parent 7dc6eb305d
commit 64d28bb868
7 changed files with 148 additions and 43 deletions

View file

@ -1,7 +1,8 @@
pub fn time_to_jiff(t: time::OffsetDateTime) -> jiff::Zoned {
let tz = jiff::tz::TimeZone::fixed(jiff::tz::offset(t.offset().whole_hours()));
jiff::Timestamp::new(t.unix_timestamp(), 0).unwrap()
jiff::Timestamp::new(t.unix_timestamp(), 0)
.unwrap()
.to_zoned(tz)
}