First working rescheduling
This commit is contained in:
parent
adc6b7866a
commit
b25857f3af
7 changed files with 85 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#[derive(Debug, Clone)]
|
||||
pub struct Task {
|
||||
/// Issue Number for referencing the task
|
||||
pub issue_number: u64,
|
||||
pub issue_number: u32,
|
||||
|
||||
/// Human-readable summary of the task
|
||||
pub title: String,
|
||||
|
|
@ -18,10 +18,10 @@ pub enum State {
|
|||
/// The task is open and pending completion.
|
||||
///
|
||||
/// An optional due date may be present.
|
||||
Open { due: Option<time::OffsetDateTime> },
|
||||
Open { due: Option<jiff::Zoned> },
|
||||
|
||||
/// The task has been completed at the specified time.
|
||||
Completed { date: time::OffsetDateTime },
|
||||
Completed { date: jiff::Zoned },
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue