Adjust the timestamp format. #24831
Replies: 2 comments
-
|
The timestamp format is a standardized ISO8601 format, well-working for parsing, and unambiguous for order of month/day. The only options for customizing it is not the worse format you're looking for, the Time command has options for numerical format, and SetOption52 to include time zone offset, making it suitable for timezone-independent parsing. The point is also that it is not a console-oriented format, but part of the JSON messages published via MQTT, and meant for programmatic parsing, not primarily to be read manually. |
Beta Was this translation helpful? Give feedback.
-
|
If you use Berry, you can decompose and reformat the timestamp string like: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible to customize the date format in the console?
I created an m1 rule using "%timestamp%", but the output looks terrible—"2026-06-10T17:12:41". Can this be changed? For example, to "10.06.26-17:12:41"?
Beta Was this translation helpful? Give feedback.
All reactions