Skip to content

Commit

Permalink
:electron: Fix backup time format in electron (#2960)
Browse files Browse the repository at this point in the history
* fix backup time in electron

* release notes

* bugfix not maintenance
  • Loading branch information
MikesGlitch authored Jul 2, 2024
1 parent 049a41f commit e02b0f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/backups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}));
}

Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2960.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MikesGlitch]
---

Fix time display of backup on Electrons "Load Backup" modal

0 comments on commit e02b0f9

Please sign in to comment.