mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-31 17:28:13 +00:00
use a NaiveDate in data model, it serializes to string (iso 8601 format)
This commit is contained in:
@@ -105,7 +105,7 @@ mod v08 {
|
||||
/// Objects expire x days after they were created
|
||||
AfterDays(usize),
|
||||
/// Objects expire at date x (must be in yyyy-mm-dd format)
|
||||
AtDate(String),
|
||||
AtDate(chrono::naive::NaiveDate),
|
||||
}
|
||||
|
||||
#[derive(Default, PartialEq, Eq, PartialOrd, Ord, Clone, Debug, Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user