fix(dtmm): Use a well-known format to serialize timestamps

This commit is contained in:
Lucas Schwiderski 2023-03-04 09:29:55 +01:00
parent 61dbbcf2d9
commit 14406ecae9
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@ const DEPLOYMENT_DATA_PATH: &str = "dtmm-deployment.sjson";
#[derive(Serialize, Deserialize)]
struct DeploymentData {
bundles: Vec<String>,
#[serde(with = "time::serde::iso8601")]
timestamp: OffsetDateTime,
}

@ -1 +1 @@
Subproject commit e94218d8f52a51529c83af33a99cc17f66caae2e
Subproject commit 81213f792767ddf1e7be60b066c87f7b137ca0a7