Modified date [and time] in database Memento.
Modified date [and time] is a basic facility of databases.
I don't understand why this is missing in otherwise wonderful database Memento.

-
Wehmann5 commented
There is a Trigger script example "Beginning of the next day" in the Memento Wiki. Based on that I wrote a Trigger script that triggers upon "Updating an Entry", "After saving the entry" that gives a value to a date field that I created, called "Modified". The script reads as follows:
var m=moment();
entry().set('Modified',m.toDate().getTime());This uses the "moment.min.js" library, which I had to attach.
-
J. Clarke commented
I had a work around working up until the last update (4.7.3). Now it will only show as a text field. moment().format('LLL'); used to work with JavaScript, now forces it to text that can't be a date.
-
Anonymous commented
That is, method to create a field for when the record was modified.
-
Dave commented
See https://memento.uservoice.com/forums/110673-general/suggestions/5703044-date-time-field-type-that-automatically-updates-to from March last year has 14 votes.
Been trying to implement this with the extended date/time functions that exist now but without success. B-(