× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

field "timeupdated"

7 мес. 2 нед. назад #10223 от Ivo Huissen
Ivo Huissen создал тему: field "timeupdated"
Hi,

field "timeupdated" seems to change regardless if something actually changes. Is this default behavior or am i missing something here?

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

7 мес. 4 дн. назад #10244 от barbraten
barbraten ответил в теме field "timeupdated"
If the "timeupdated" field is associated with a database table, the database management system (DBMS) may automatically update timestamp fields with the current time whenever a record is modified or inserted, even if no actual data changes. This is often referred to as a "timestamp" or "last modified" field, and it's a common feature in database systems.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

7 мес. 3 дн. назад #10246 от Ivo Huissen
Ivo Huissen ответил в теме field "timeupdated"
The field time_updated should be the same as the standard joomla content field modified. Both are datetime fields, not timestamp fields as such. One would expect same behavior. If nothing changes nothing is updated/modified. Now this field makes no sense whatsoever and one could as well use a timestamp type instead. Modification does not equal hitting a save button.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

7 мес. 3 дн. назад #10247 от Ivo Huissen
Ivo Huissen ответил в теме field "timeupdated"
I stand myself corrected, same happens with the joomla modified field. Both wrong IMHO.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.144 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.