Question
I created a field with the type "date" and checked the "date-time" option. I formatted the date as "H:i:s". In the code, I added =: $#ndts
, which is executed when adding a row. As a result, no matter what I do, the time always ends up without seconds, like 22:43:00 (always 00 at the end). What am I doing wrong?
Answer
The Date type field in Totum does not support seconds. For seconds, you should use a field with the String type, then the code =: $#ndts
will be able to record the date in the Y-m-d H:i:s format.