Expand clock timezone options globally and sort add-item list

This commit is contained in:
Jage9
2026-02-21 16:04:55 -05:00
parent b2c3f75ae3
commit 6698639260
5 changed files with 88 additions and 6 deletions

View File

@@ -171,10 +171,10 @@ async def test_clock_timezone_update_validates(monkeypatch: pytest.MonkeyPatch)
await server._handle_message(
client,
json.dumps({"type": "item_update", "itemId": item.id, "params": {"timeZone": "America/New_York"}}),
json.dumps({"type": "item_update", "itemId": item.id, "params": {"timeZone": "Europe/Berlin"}}),
)
assert send_payloads[-1].ok is True
assert item.params.get("timeZone") == "America/New_York"
assert item.params.get("timeZone") == "Europe/Berlin"
await server._handle_message(
client,