Opened 9 years ago

Closed 8 years ago

#1072 closed defect (fixed)

[API] Updated objects don't have "updated" field

Reported by: JanKusanagi Owned by:
Priority: minor Milestone:
Component: programming Keywords: api, timestamps
Cc: Parent Tickets:


This is probably quite low priority, but for completeness sake, objects should have a "updated" field in addition to the "published" field, when said objects have been updated at least once, as objects have.

Hopefully the DB already has that info, and it's only a matter of showing it via API.

Change History (3)

comment:1 by Jessica Tallon, 9 years ago

The database unfortunately does not store the updated time and only the time the object was created. The few places I have included the updated attribute it's actually the created attribute that doesn't change upon update. I will be adding a updated timestamp to all objects when I make the database changes and in a migration older objects will simply have this field populated with the creation/publication date.

comment:2 by Jessica Tallon, 8 years ago

I think this has been fixed, can you let me know if you think it's been fixed or if you still don't see the updated field.

comment:3 by Jessica Tallon, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.