|
|
@ -65,7 +65,7 @@ export default function CalendarsMain() {
|
|
|
|
const collection = collections!.find((x) => x.uid === collectionUid)!;
|
|
|
|
const collection = collections!.find((x) => x.uid === collectionUid)!;
|
|
|
|
const itemMgr = colMgr.getItemManager(collection);
|
|
|
|
const itemMgr = colMgr.getItemManager(collection);
|
|
|
|
|
|
|
|
|
|
|
|
const mtime = (new Date()).getUTCMilliseconds();
|
|
|
|
const mtime = (new Date()).getTime();
|
|
|
|
const content = item.toIcal();
|
|
|
|
const content = item.toIcal();
|
|
|
|
|
|
|
|
|
|
|
|
let eteItem;
|
|
|
|
let eteItem;
|
|
|
@ -95,7 +95,7 @@ export default function CalendarsMain() {
|
|
|
|
const itemMgr = colMgr.getItemManager(collection);
|
|
|
|
const itemMgr = colMgr.getItemManager(collection);
|
|
|
|
|
|
|
|
|
|
|
|
const eteItem = items!.get(collectionUid)?.get(itemUid)!;
|
|
|
|
const eteItem = items!.get(collectionUid)?.get(itemUid)!;
|
|
|
|
const mtime = (new Date()).getUTCMilliseconds();
|
|
|
|
const mtime = (new Date()).getTime();
|
|
|
|
const meta = await eteItem.getMeta();
|
|
|
|
const meta = await eteItem.getMeta();
|
|
|
|
meta.mtime = mtime;
|
|
|
|
meta.mtime = mtime;
|
|
|
|
await eteItem.setMeta(meta);
|
|
|
|
await eteItem.setMeta(meta);
|
|
|
|