diff --git a/app/src/components/user_details_form.rs b/app/src/components/user_details_form.rs index d07467e..1ccaa7d 100644 --- a/app/src/components/user_details_form.rs +++ b/app/src/components/user_details_form.rs @@ -185,7 +185,7 @@ impl Component for UserDetailsForm { {"Creation date: "}
- {&self.props.user.creation_date.with_timezone(&chrono::Local)} + {&self.props.user.creation_date.date().naive_local()}
diff --git a/app/src/components/user_table.rs b/app/src/components/user_table.rs index e896a5e..dbc3c3d 100644 --- a/app/src/components/user_table.rs +++ b/app/src/components/user_table.rs @@ -146,7 +146,7 @@ impl UserTable { {&user.display_name} {&user.first_name} {&user.last_name} - {&user.creation_date.with_timezone(&chrono::Local)} + {&user.creation_date.date().naive_local()}