switch to datetime (instead of string) + show proper timezone

This commit is contained in:
2023-03-04 13:36:36 +01:00
parent ff30d1894a
commit ff36557a60
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ pub struct Model {
pub user_id: i32,
pub cox_id: Option<i32>,
pub begin: Option<String>,
pub created: String,
pub created: chrono::DateTime<chrono::Utc>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]