Unify Dates logic and expand DoneDate format
This commit is contained in:
parent
2e7ab3c4a1
commit
c69af9bcde
8 changed files with 119 additions and 133 deletions
|
|
@ -268,7 +268,7 @@ pub enum DoneDate {
|
|||
Date {
|
||||
root: NaiveDate,
|
||||
},
|
||||
DateWithTime {
|
||||
DateTime {
|
||||
root: NaiveDate,
|
||||
root_time: Time,
|
||||
},
|
||||
|
|
@ -276,7 +276,12 @@ pub enum DoneDate {
|
|||
root: NaiveDate,
|
||||
other: NaiveDate,
|
||||
},
|
||||
DateToDateWithTime {
|
||||
DateTimeToTime {
|
||||
root: NaiveDate,
|
||||
root_time: Time,
|
||||
other_time: Time,
|
||||
},
|
||||
DateTimeToDateTime {
|
||||
root: NaiveDate,
|
||||
root_time: Time,
|
||||
other: NaiveDate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue