aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-08 15:46:49 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-08 15:46:49 +0100
commitca81532ac0f6db9fb522988d979c890a052b33ee (patch)
tree6d051c67b0f643564c865e20b125db06c9e006b9
parent246b8e8f4bf266a63e30bd1ddc890733939d8dfc (diff)
Autoadd timestamps to created and updated fields
-rw-r--r--settings.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings.yaml b/settings.yaml
index c39f040..1258cf3 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -22,7 +22,9 @@ fields:
type: datetime
index: field
sortable: True
+ auto: creation
- name: updated
type: datetime
index: field
sortable: True
+ auto: creation