Items include a last modified (DTSTAMP) date
This commit is contained in:
parent
e24fab2ccb
commit
8e35f4c579
7 changed files with 119 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
|||
//! Calendar events
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
use crate::item::ItemId;
|
||||
use crate::item::SyncStatus;
|
||||
|
@ -31,6 +32,10 @@ impl Event {
|
|||
&self.name
|
||||
}
|
||||
|
||||
pub fn last_modified(&self) -> &DateTime<Utc> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn sync_status(&self) -> &SyncStatus {
|
||||
&self.sync_status
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue