Files
esphome/tests/unit_tests
David Woodhouse 09e9b58eb6 Change build_time_str format to ISO 8601 with timezone
Use YYYY-MM-DD HH:MM:SS +ZZZZ format instead of the locale-dependent
'%b %d %Y, %H:%M:%S' format. This provides:
- Unambiguous date format (YYYY-MM-DD)
- Timezone information
- Locale-independent formatting
- Better sortability and parseability

Example: "2025-12-15 16:30:27 +0000" instead of "Dec 15 2025, 16:30:27"

Tests validate the format using strptime with '%Y-%m-%d %H:%M:%S %z'.
2025-12-15 16:38:44 +00:00
..
2025-09-19 12:59:48 +00:00
2025-12-13 09:45:17 -06:00
2022-10-05 20:09:27 +13:00
2025-12-13 09:21:53 -06:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00