(t *testing.T)
| 29 | berlin := time.FixedZone("CEST", 2*60*60) |
| 30 | ts := time.Date(2026, 8, 21, 9, 0, 0, 0, berlin) |
| 31 | got := formatTimestamp(ts) |
| 32 | want := "2026-08-21T09:00" |
| 33 | if got != want { |
| 34 | t.Errorf("formatTimestamp = %q, want %q", got, want) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func TestFormatTimestampMidDay(t *testing.T) { |
| 39 | ts := time.Date(2024, 1, 15, 14, 0, 0, 0, time.UTC) |
| 40 | got := formatTimestamp(ts) |
nothing calls this directly
no test coverage detected