Merge pull request #2075 from ia/debug-time
Debug Menu: add time of compilation to timestamp build
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 ",
|
||||
|
||||
Reference in New Issue
Block a user