From 5bab3e5e984cea425d3e17fd41c2e09ef33b34b4 Mon Sep 17 00:00:00 2001 From: poire-z Date: Fri, 23 Jul 2021 15:54:12 +0200 Subject: [PATCH] Fix luacheck after d9cc3af2 --- frontend/ui/data/onetime_migration.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui/data/onetime_migration.lua b/frontend/ui/data/onetime_migration.lua index 683e37848..ce2becaac 100644 --- a/frontend/ui/data/onetime_migration.lua +++ b/frontend/ui/data/onetime_migration.lua @@ -289,8 +289,8 @@ end -- 20210720, Reset all user's duration time to classic, https://github.com/koreader/koreader/pull/8008 if last_migration_date < 20210720 then logger.info("Performing one-time migration for 20210720") - -- With PR 7897 and migration date 20210629, we migrated everyone's duration format to the combined setting. - -- However, the footer previously defaulted to "modern", so users who were used to seeing "classic" in the UI + -- With PR 7897 and migration date 20210629, we migrated everyone's duration format to the combined setting. + -- However, the footer previously defaulted to "modern", so users who were used to seeing "classic" in the UI -- started seeing the modern format unexpectedly. Therefore, reset everyone back to classic so users go back -- to a safe default. Users who use "modern" will need to reselect it in Time and Date settings after this migration. G_reader_settings:saveSetting("duration_format", "classic")