From dc2b91c879b2a1675b31362ba3ac20ad4b76db13 Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Thu, 13 Feb 2025 07:49:22 +0300 Subject: [PATCH 1/2] Debug Menu: add time of compilation to timestamp build --- Translations/make_translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Translations/make_translation.py b/Translations/make_translation.py index cd765bed..8608ee51 100755 --- a/Translations/make_translation.py +++ b/Translations/make_translation.py @@ -152,7 +152,7 @@ def get_constants() -> List[Tuple[str, str]]: def get_debug_menu() -> List[str]: return [ - datetime.today().strftime("%Y-%m-%d"), + datetime.today().strftime("%Y%m%d %H%M%S"), "ID ", "ACC ", "PWR ", From 68aac2847b9716d9eccb54d1875fa78e4d971447 Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Thu, 13 Feb 2025 07:59:20 +0300 Subject: [PATCH 2/2] Debug Menu: update documentation about timestamp format --- Documentation/DebugMenu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/DebugMenu.md b/Documentation/DebugMenu.md index 1b40ad78..c18018a9 100644 --- a/Documentation/DebugMenu.md +++ b/Documentation/DebugMenu.md @@ -40,9 +40,9 @@ I.e.: **Additional scroll-able items appear in this order**: -### Date +### Timestamp -- This is a date of firmware compilation and it has the following format: `DD-MM-YY` (i.e., `01-07-23` means it has been built in July, 1st, 2023) +- This is a timestamp of firmware compilation and it has the following format: `YYYYMMDD HHMMSS` (i.e., `20230701 213456` means it has been built in July, 1st, 2023 at 9:34:56 pm) ### ID