mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-12-21 21:51:30 +00:00
Fixed:
- Customisation Sync now checks the difference while storing or applying the configuration. - Time difference in the dialogue has been fixed.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
canApply = true;
|
||||
} else {
|
||||
const dtDiff = (local?.mtime ?? 0) - (remote?.mtime ?? 0);
|
||||
const diff = timeDeltaToHumanReadable(Math.abs(dtDiff / 1000));
|
||||
const diff = timeDeltaToHumanReadable(Math.abs(dtDiff));
|
||||
if (dtDiff / 1000 < -10) {
|
||||
// freshness = "✓ Newer";
|
||||
freshness = `Newer (${diff})`;
|
||||
|
||||
Reference in New Issue
Block a user