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:
parent
7dc6eb305d
commit
64d28bb868
7 changed files with 148 additions and 43 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue