fix(core): update tanzaku last modification timestamp on tanzaku update
This commit is contained in:
parent
df12b94b2a
commit
ff0cd4eea2
@ -184,6 +184,7 @@ int tanzaku_upd(Sappyou *sappyou, uint64_t tanzaku_id, const char *name, const c
|
|||||||
}
|
}
|
||||||
if (changed) {
|
if (changed) {
|
||||||
sappyou->modified_ts = time(NULL);
|
sappyou->modified_ts = time(NULL);
|
||||||
|
sappyou->database[tanzaku_id].modified_ts = sappyou->modified_ts;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user