From b2501e98eb98a537ee6c205dcef52765493b4f3c Mon Sep 17 00:00:00 2001 From: MOAYAD Date: Fri, 27 Dec 2024 14:18:23 +0300 Subject: [PATCH] CREATE BACKUP FILE NOT WORKING, FIXED https://github.com/LNReader/lnreader/pull/1365 --- src/services/backup/legacy/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/backup/legacy/index.ts b/src/services/backup/legacy/index.ts index 73067dcaf..c417fd907 100644 --- a/src/services/backup/legacy/index.ts +++ b/src/services/backup/legacy/index.ts @@ -21,7 +21,7 @@ export const createBackup = async () => { if (!folder) { return; } - const datetime = dayjs().format('YYYY-MM-DD_HH:mm'); + const datetime = dayjs().format('YYYY-MM-DD_HH_mm'); const fileName = 'lnreader_backup_' + datetime + '.json'; await FileManager.writeFile( folder + '/' + fileName,