Skip to content

A local-first personal finance app

:electron: Fix backup time format in electron (#2960)

Michael Clarke02b0f9bc7e8
diff --git a/packages/loot-core/src/server/backups.ts b/packages/loot-core/src/server/backups.ts
index 1fda2dee5b..a3ad3eb10e 100644
--- a/packages/loot-core/src/server/backups.ts
+++ b/packages/loot-core/src/server/backups.ts
@@ -73,7 +73,7 @@ export async function getAvailableBackups(id: string): Promise<Backup[]> {
return backups.map(backup => ({
...backup,
- date: backup.date ? dateFns.format(backup.date, 'yyyy-MM-dd h:mm') : null,
+ date: backup.date ? dateFns.format(backup.date, 'yyyy-MM-dd H:mm') : null,
}));
}
diff --git a/upcoming-release-notes/2960.md b/upcoming-release-notes/2960.md
new file mode 100644
index 0000000000..05d7594754
--- /dev/null
+++ b/upcoming-release-notes/2960.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MikesGlitch]
+---
+
+Fix time display of backup on Electrons "Load Backup" modal