mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-08 15:54:51 +00:00
Change field creation_ts * 1000
to creation_ts_ms
This commit is contained in:
parent
627f3d2917
commit
aaf1ebb909
4 changed files with 5 additions and 5 deletions
|
@ -160,7 +160,7 @@ export const UserEdit = props => (
|
|||
helperText="resources.users.helper.deactivate"
|
||||
/>
|
||||
<DateField
|
||||
source="creation_ts"
|
||||
source="creation_ts_ms"
|
||||
showTime
|
||||
options={{
|
||||
year: "numeric",
|
||||
|
|
|
@ -38,8 +38,8 @@ export default {
|
|||
medium: "Medium",
|
||||
threepids: "3PIDs",
|
||||
address: "Adresse",
|
||||
creation_ts: "Zeitpunkt der Erstellung",
|
||||
consent_version: "Zugestimmte Bedingungen",
|
||||
creation_ts_ms: "Zeitpunkt der Erstellung",
|
||||
consent_version: "Zugestimmte Geschäftsbedingungen",
|
||||
},
|
||||
helper: {
|
||||
deactivate: "Deaktivierte Nutzer können nicht wieder aktiviert werden.",
|
||||
|
|
|
@ -37,7 +37,7 @@ export default {
|
|||
medium: "Medium",
|
||||
threepids: "3PIDs",
|
||||
address: "Address",
|
||||
creation_ts: "Creation timestamp",
|
||||
creation_ts_ms: "Creation timestamp",
|
||||
consent_version: "Consent version",
|
||||
},
|
||||
helper: {
|
||||
|
|
|
@ -24,7 +24,7 @@ const resourceMap = {
|
|||
admin: !!u.admin,
|
||||
deactivated: !!u.deactivated,
|
||||
// need timestamp in milliseconds
|
||||
creation_ts: u.creation_ts * 1000,
|
||||
creation_ts_ms: u.creation_ts * 1000,
|
||||
}),
|
||||
data: "users",
|
||||
total: (json, from, perPage) => {
|
||||
|
|
Loading…
Reference in a new issue