- 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:
vorotamoroz
2024-07-31 02:13:25 +01:00
parent b8edc85528
commit 697ee1855b
2 changed files with 51 additions and 11 deletions

View File

@@ -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})`;