switch to datetime (instead of string) + show proper timezone
This commit is contained in:
@ -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)]
|
||||
|
Reference in New Issue
Block a user