×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
field "timeupdated"
Ivo Huissen
New Member
Posts: 4
1 år 2 månader sedan #10223
av Ivo Huissen
field "timeupdated" skapades av Ivo Huissen
Hi,
field "timeupdated" seems to change regardless if something actually changes. Is this default behavior or am i missing something here?
field "timeupdated" seems to change regardless if something actually changes. Is this default behavior or am i missing something here?
Be Logga in eller Skapa ett konto ansluta till konversationen.
barbraten
Användaren är blockerad
Posts: 1
1 år 1 månad sedan #10244
av barbraten
Svar från barbraten i ämnet 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.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Ivo Huissen
New Member
Posts: 4
1 år 1 månad sedan #10246
av Ivo Huissen
Svar från Ivo Huissen i ämnet 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.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Ivo Huissen
New Member
Posts: 4
1 år 1 månad sedan #10247
av Ivo Huissen
Svar från Ivo Huissen i ämnet field "timeupdated"
I stand myself corrected, same happens with the joomla modified field. Both wrong IMHO.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Sidan laddades på: 0.063 sekunder