krz/moonrise

Night-sky companion for iPhone, Apple Watch and Vision Pro: what's up tonight, the Moon, planets, launches and missions, and a Library of the solar system. SwiftUI app with a Cloudflare Workers backend. astronomy cloudflare-workers ios night-sky space swiftui visionos watchos

Commit a382ad5f7c

a382ad5f7c880877356c6b480ea2d1d8b255ee44

parent: 4f9a36c696

Unsigned

cmc <hello@cleberg.net> · 2026-10-21 18:40 UTC

Eclipse safety wording against AAS and NASA guidance (!87)

Every eye-safety text and spoken cue about looking at the Sun, checked on 2026-10-21 against:

- AAS Solar Eclipse Task Force: [How to View a Solar Eclipse Safely](https://eclipse.aas.org/eye-safety), [ISO 12312-2](https://eclipse.aas.org/eye-safety/iso12312-2), [Solar Filters for Optics](https://eclipse.aas.org/eye-safety/optics-filters), [Solar Eclipse Phenomena](https://eclipse.aas.org/eclipse-basics/eclipse-phenomena), [Are My Solar Viewers Safe?](https://eclipse.aas.org/eye-safety/how-to-tell-if-viewers-are-safe)
- NASA: [Eclipse safety](https://science.nasa.gov/eclipses/safety/); [Eye Safety During Solar Eclipses](https://eclipse.gsfc.nasa.gov/SEhelp/safety2.html) (B. Ralph Chou, NASA GSFC eclipse site) for painless damage, which the current pages do not state.

## Comparison

| # | Where | App text / cue (before) | Guidance | Verdict |
|---|---|---|---|---|
| 1 | Cue, total, C1 | "First contact. The Moon is starting to cover the Sun. Keep your glasses on whenever you look at it." | NASA: partial phases need protection; "never safe to look directly at the eclipse without proper eye protection" | matches |
| 2 | Cue, total, C2−5 min / C2−2 min | "Five minutes to totality." / "Lay out a white sheet and watch it for shadow bands." | Not a Sun-viewing instruction | matches |
| 3 | Cue, C2−60 s | "One minute to totality. Glasses stay on." | AAS: viewers stay on until the beads dwindle | matches |
| 4 | Cue, C2−15 s | "Watch for Baily's beads and the diamond ring, through your glasses." | AAS: beads and diamond ring are photosphere; filters on until the last bead | matches |
| 5 | Cue, C2, gates pass | "Totality. Wait until the last bead of sunlight has gone, then glasses off." | NASA: safe "when you can no longer see any part of the Sun through eclipse glasses"; AAS: off when beads dwindle to one, optics filters off when "the last bead disappears" | change: "Totality. Once no sunlight shows through your glasses, not even one bead, glasses off." Uses NASA's check, keeps the stricter last-bead point |
| 6 | Gates for the off cue | totality ≥ 30 s, fix < 100 m, Sun up, total eclipse only | Guidance allows removal in any totality inside the path. The gates are stricter, and the app cannot see the beads | kept |
| 7 | Cue, C2, withheld (short / imprecise / Sun down) | "...Keep your glasses on." | Stricter than guidance | matches |
| 8 | Cue, C3−10 s | "Glasses on." | AAS: viewers back "as soon as the bright Sun begins to reappear", optics filters back during the finale before the third-contact diamond ring; NASA: "immediately" when any sliver reappears | change to C3−15 s: "Glasses on, and filters back on cameras and binoculars." 10 s left little margin. Contacts are good to about 2 s inside the path and worse near the edges, where beads can show early. The listener also needs time to react, and the chromosphere flash comes before C3. 15 s mirrors the bead cue before C2 |
| 9 | Cue, C3 | "Third contact. Beads and the diamond ring on the other side, through your glasses." | AAS at the diamond ring: "Solar filters on!" | matches |
| 10 | Cue, partial / annular, C1 | "This eclipse is {annular, partial} here, so keep your glasses on the whole time." | AAS: viewers on "throughout all stages of an annular eclipse"; no safe time outside totality | matches |
| 11 | Cue, annular C2 / C3; partial max | "Glasses stay on." | Same | matches |
| 12 | Countdown status, off cue given | "...take your glasses off only once the last bead of sunlight has gone." | As 5 | change: "The totality cue says glasses off only once no sunlight shows through them." |
| 13 | Countdown status, partial / short / imprecise | "No totality here: keep your glasses on the whole time." etc. | As 10 | matches |
| 14 | Countdown safety block | "...through eclipse glasses or a viewer made to ISO 12312-2, except during totality itself." | AAS/NASA: ISO 12312-2; only during totality, inside the path | change: does not say inside the path, when to put them back, or that partial and annular phases never allow removal. Replaced by the shared lines below |
| 15 | Countdown safety block | "Cameras, binoculars and telescopes need their own solar filters. Never look through them with glasses alone." | AAS/NASA: filter "attached to the front"; never look through unfiltered optics while wearing eclipse viewers | change: "need a solar filter on the front. Never look through them while wearing eclipse glasses." |
| 16 | Countdown safety block | none | AAS: sunglasses "not safe"; ISO 12312-2 page: they pass "hundreds to thousands of times more light" | add: "Sunglasses, even very dark ones, are not safe." |
| 17 | Countdown safety block | none | NASA GSFC: injuries occur "without any feeling of pain", effects show hours later | add: "Damage to the eye is painless and shows only hours later." |
| 18 | Countdown safety block | "Do not drive during totality. Keep the phone in the shade..." | Not covered | kept |
| 19 | Eclipse screen | "Never look at the Sun without certified eclipse glasses, except during totality itself." | As 14; "certified" is not a standard | change: "Never look at the Sun without eclipse glasses that meet ISO 12312-2. Only in totality, once no sunlight shows through them, is it safe to take them off." |
| 20 | Eclipse screen / countdown | no note, no link | AAS page is the reference | add: one-time eye-safety note, see below |
| 21 | Viewer inspection | none | AAS/NASA: discard if scratched, torn or loose | add (note only) |
| 22 | Library, Sun page | "Never look at the Sun directly, or through binoculars or a telescope, without a certified solar filter covering the front of the instrument." | AAS/NASA: front filter | matches |
| 23 | Live Activity, Sun tab, Watch, widgets, Events list | no eye-safety text; times, imagery and space weather only | n/a | none needed |
| 24 | Library eclipse pages | none exist (eclipse hits in Library are eclipsing binaries) | n/a | none |
| 25 | Children supervision, pinhole projection | none | AAS/NASA cover both | not added, to keep the note short |

## Changes

- `EclipseTimeline.script`: off-cue text (5); glasses-on cue at C3−15 s with filters (8). Gates unchanged.
- `EclipseSafetyNote.swift`: `eclipseSafetyLines` (ISO 12312-2 and sunglasses; when to remove and replace, inside the path only, never in partial or annular; front filters, no optics with glasses on; painless damage), used by the countdown's safety block and the note. The note adds viewer inspection, a line that cue times can be off by a few seconds and sunlight through the glasses overrides any cue, and a link to https://eclipse.aas.org/eye-safety (opens in the in-app browser).
- `EclipseScreen`: "Start the countdown" and "Rehearse..." show the note first while `eclipseSafetyShown` is false. The note's button reads Continue, swipe-down is disabled, and closing it sets the flag and starts the countdown. An "Eye safety" button under the safety line reopens the note with Done.
- PLAN.org: safety-review item replaced with the check on 2026-10-21; Astronomical League / Lunar 100 decision moved to v4 Observing programs (Not done).

## Tests

- `swift test` (Packages/MoonriseKit): 202 tests pass. `glassesOffOnlyAtSecondContactWithAPreciseFix` checks the new text; `glassesOnTenSecondsBeforeThirdContact` is now `glassesOnFifteenSecondsBeforeThirdContact`.
- `npm test` (server): 58/58.
- `xcodegen generate` + `xcodebuild test -scheme Moonrise` (iPhone 18 Pro): pass.

Audit (`AccessibilityAuditTests`; it does not visit the eclipse screens):

| Screen | main (!86) | this MR |
|---|---|---|
| Sky | 4 | 4 |
| Settings | 2 | 2 |
| System | 7 | 7 |
| Sun | 3 | 3 |
| News & launches | 20 | 21 (live feed) |
| Library | 14 | 14 |
| Library page: Saturn | 13 | 13 |

A throwaway UI test (not committed) drove Events → total eclipse 2027-08-02 from Luxor → Eye safety → Rehearse. First start showed the note with Continue; a second start went straight to the rehearsal. The AAS link opened in the in-app browser. Audit of those screens: Eclipse 3, note 2, Rehearsal 10. The note's two issues are the toolbar button's contrast and Dynamic Type, the same as the Done button on every eclipse sheet. A "hit area too small" issue on the new Eye safety button was fixed with a 44 pt frame.

## Not verified

- No outside or eye-care reviewer; this is a check against the published pages only.
- Spoken cues not heard on a device; the C3−15 s cue not checked in a rehearsal run through third contact.
- The note's audit ran before its AAS link was given the accent colour; the same red on black passes on the eclipse screen's safety line.
- Audit counts for the eclipse screens on main were not measured, so the Eclipse and Rehearsal counts above have no baseline. None of their issues are on elements this MR adds.

Layout: unified · split

App/Sources/EclipseDayScreen.swift +2 −3
@@ -153,7 +153,7 @@ struct EclipseDayScreen: View {
153 private func status(_ t: EclipseTimeline) -> some View { 153 private func status(_ t: EclipseTimeline) -> some View {
154 let position = fix.map { "Position from GPS, ±\(Int($0.accuracy.rounded())) m." } ?? "Position: \(placeName), not a GPS fix." 154 let position = fix.map { "Position from GPS, ±\(Int($0.accuracy.rounded())) m." } ?? "Position: \(placeName), not a GPS fix."
155 let off: String = switch t.glassesOffWithheld { 155 let off: String = switch t.glassesOffWithheld {
156 case nil: "The totality cue tells you to take your glasses off only once the last bead of sunlight has gone." 156 case nil: "The totality cue says glasses off only once no sunlight shows through them."
157 case .partial: "No totality here: keep your glasses on the whole time." 157 case .partial: "No totality here: keep your glasses on the whole time."
158 case .short: "Totality here is under \(Int(EclipseTimeline.minimumTotality)) s, so there is no glasses-off cue." 158 case .short: "Totality here is under \(Int(EclipseTimeline.minimumTotality)) s, so there is no glasses-off cue."
159 case .imprecise: locationMode == "city" 159 case .imprecise: locationMode == "city"
@@ -173,8 +173,7 @@ struct EclipseDayScreen: View {
173 private var safety: some View { 173 private var safety: some View {
174 VStack(alignment: .leading, spacing: 6) { 174 VStack(alignment: .leading, spacing: 6) {
175 Text("Safety").font(.caption2.weight(.medium)).textCase(.uppercase).tracking(0.8).dimmed(0.6) 175 Text("Safety").font(.caption2.weight(.medium)).textCase(.uppercase).tracking(0.8).dimmed(0.6)
176 Text("Look at the Sun only through eclipse glasses or a viewer made to ISO 12312-2, except during totality itself.") 176 ForEach(eclipseSafetyLines, id: \.self) { Text($0) }
177 Text("Cameras, binoculars and telescopes need their own solar filters. Never look through them with glasses alone.")
178 Text("Do not drive during totality. Keep the phone in the shade: in direct sun it can overheat and shut down.") 177 Text("Do not drive during totality. Keep the phone in the shade: in direct sun it can overheat and shut down.")
179 } 178 }
180 .font(.footnote) 179 .font(.footnote)
App/Sources/EclipseSafetyNote.swift added +42
@@ -0,0 +1,42 @@
1import SwiftUI
2
3/// Eye safety for eclipse day, after the AAS Solar Eclipse Task Force and NASA.
4let eclipseSafetyLines = [
5 "Look at the Sun only through eclipse glasses or a handheld viewer that meets ISO 12312-2. Sunglasses, even very dark ones, are not safe.",
6 "Take them off only during totality, inside the path, once no sunlight shows through them. Put them back on as soon as the Sun starts to reappear. Partial and annular eclipses never have a safe moment without them.",
7 "Cameras, binoculars and telescopes need a solar filter on the front. Never look through them while wearing eclipse glasses.",
8 "Damage to the eye is painless and shows only hours later.",
9]
10
11/// Shown once before the first countdown or rehearsal, and from the eclipse screen.
12struct EclipseSafetyNote: View {
13 /// A countdown or rehearsal starts when the note closes.
14 var starting: Bool
15 @Environment(\.dismiss) private var dismiss
16
17 private let ink = Color(red: 0.95, green: 0.95, blue: 0.93)
18 private let accent = Color(red: 0.88, green: 0.24, blue: 0.19)
19
20 var body: some View {
21 NavigationStack {
22 ScrollView {
23 VStack(alignment: .leading, spacing: 14) {
24 ForEach(eclipseSafetyLines, id: \.self) { Text($0) }
25 Text("Check your viewers first and throw away any that are scratched, torn or coming loose.")
26 Text("Cue times can be off by a few seconds, more near the edge of the path. If sunlight still shows through your glasses, keep them on whatever a cue says.")
27 Link(destination: URL(string: "https://eclipse.aas.org/eye-safety")!) {
28 Text("Eye safety from the American Astronomical Society").multilineTextAlignment(.leading).foregroundStyle(accent)
29 }
30 }
31 .padding(20)
32 .readableWidth()
33 }
34 .background(Color.black.ignoresSafeArea())
35 .foregroundStyle(ink)
36 .navigationTitle("Eye safety")
37 .navigationBarTitleDisplayMode(.inline)
38 .toolbar { ToolbarItem(placement: .confirmationAction) { Button(starting ? "Continue" : "Done") { dismiss() } } }
39 }
40 .interactiveDismissDisabled(starting)
41 }
42}
App/Sources/EclipseScreen.swift +20 −3
@@ -18,6 +18,10 @@ struct EclipseScreen: View {
18 @State private var city: String? 18 @State private var city: String?
19 @State private var day: Day? 19 @State private var day: Day?
20 @State private var activityNote: String? 20 @State private var activityNote: String?
21 @State private var showSafety = false
22 /// Started when the safety note closes.
23 @State private var pending: Day?
24 @AppStorage(SettingsKey.eclipseSafetyShown) private var safetyShown = false
21 @AppStorage(SettingsKey.locationMode) private var locationMode = "current" 25 @AppStorage(SettingsKey.locationMode) private var locationMode = "current"
22 @Environment(\.dismiss) private var dismiss 26 @Environment(\.dismiss) private var dismiss
23 27
@@ -63,6 +67,12 @@ struct EclipseScreen: View {
63 .fullScreenCover(item: $day) { d in 67 .fullScreenCover(item: $day) { d in
64 EclipseDayScreen(date: date, observer: observer, placeName: placeName, zone: zone, rehearsal: d == .rehearsal, location: location) 68 EclipseDayScreen(date: date, observer: observer, placeName: placeName, zone: zone, rehearsal: d == .rehearsal, location: location)
65 } 69 }
70 .sheet(isPresented: $showSafety, onDismiss: {
71 if let pending { safetyShown = true; day = pending }
72 pending = nil
73 }) {
74 EclipseSafetyNote(starting: pending != nil)
75 }
66 } 76 }
67 .task { 77 .task {
68 let date = date 78 let date = date
@@ -134,8 +144,10 @@ struct EclipseScreen: View {
134 } else { 144 } else {
135 Text("Not visible from here.").font(.subheadline).dimmed(0.7) 145 Text("Not visible from here.").font(.subheadline).dimmed(0.7)
136 } 146 }
137 Text("Never look at the Sun without certified eclipse glasses, except during totality itself.") 147 Text("Never look at the Sun without eclipse glasses that meet ISO 12312-2. Only in totality, once no sunlight shows through them, is it safe to take them off.")
138 .font(.footnote).foregroundStyle(accent).padding(.top, 6) 148 .font(.footnote).foregroundStyle(accent).padding(.top, 6)
149 Button { showSafety = true } label: { Text("Eye safety").frame(minHeight: 44).contentShape(Rectangle()) }
150 .font(.footnote)
139 } 151 }
140 } 152 }
141 153
@@ -143,10 +155,10 @@ struct EclipseScreen: View {
143 VStack(alignment: .leading, spacing: 10) { 155 VStack(alignment: .leading, spacing: 10) {
144 Text("Eclipse day").font(.caption2.weight(.medium)).textCase(.uppercase).tracking(0.8).dimmed(0.6) 156 Text("Eclipse day").font(.caption2.weight(.medium)).textCase(.uppercase).tracking(0.8).dimmed(0.6)
145 if t.eclipse.partialEnd > .now { 157 if t.eclipse.partialEnd > .now {
146 Button("Start the countdown") { day = .live } 158 Button("Start the countdown") { start(.live) }
147 Button("Show contact times on the Lock Screen") { scheduleActivity(t) } 159 Button("Show contact times on the Lock Screen") { scheduleActivity(t) }
148 } 160 }
149 Button("Rehearse from three minutes before \(t.eclipse.kind == "Total" ? "totality" : "maximum")") { day = .rehearsal } 161 Button("Rehearse from three minutes before \(t.eclipse.kind == "Total" ? "totality" : "maximum")") { start(.rehearsal) }
150 if let activityNote { Text(activityNote).font(.footnote).dimmed(0.7) } 162 if let activityNote { Text(activityNote).font(.footnote).dimmed(0.7) }
151 Text("The countdown speaks each cue and taps at the contacts while Moonrise is open, and keeps the screen on.") 163 Text("The countdown speaks each cue and taps at the contacts while Moonrise is open, and keeps the screen on.")
152 .font(.footnote).dimmed(0.7) 164 .font(.footnote).dimmed(0.7)
@@ -154,6 +166,11 @@ struct EclipseScreen: View {
154 .tint(accent) 166 .tint(accent)
155 } 167 }
156 168
169 /// Shows the safety note first, the first time.
170 private func start(_ d: Day) {
171 if safetyShown { day = d } else { pending = d; showSafety = true }
172 }
173
157 /// Adds a Live Activity that appears 30 minutes before first contact, or now if that has passed. 174 /// Adds a Live Activity that appears 30 minutes before first contact, or now if that has passed.
158 private func scheduleActivity(_ t: EclipseTimeline) { 175 private func scheduleActivity(_ t: EclipseTimeline) {
159 let e = t.eclipse 176 let e = t.eclipse
App/Sources/SettingsScreen.swift +2
@@ -23,6 +23,8 @@ enum SettingsKey {
23 static let showDeepSky = "showDeepSky" 23 static let showDeepSky = "showDeepSky"
24 /// Cloud forecasts from Apple Weather; off unless turned on. 24 /// Cloud forecasts from Apple Weather; off unless turned on.
25 static let cloudForecast = "cloudForecast" 25 static let cloudForecast = "cloudForecast"
26 /// The eclipse eye-safety note has been shown before a countdown or rehearsal.
27 static let eclipseSafetyShown = "eclipseSafetyShown"
26} 28}
27 29
28struct City: Hashable, Identifiable { 30struct City: Hashable, Identifiable {
PLAN.org +6 −6
@@ -464,17 +464,17 @@ Sky, System, Sun, Launches, Library core (above).
464 pollution (licence), meteor radiant altitude. 464 pollution (licence), meteor radiant altitude.
465- Observing programs. Done: =:CATALOG:= and =:UTC_OFFSET:= in the log, 465- Observing programs. Done: =:CATALOG:= and =:UTC_OFFSET:= in the log,
466 catalogue name matching, Messier progress, user program lists as Org 466 catalogue name matching, Messier progress, user program lists as Org
467 files, "not yet logged, up tonight". Not done: Astronomical League and 467 files, "not yet logged, up tonight". Not done: Astronomical League lists
468 Lunar 100 lists (permission), IMO/COBS/AAVSO exports. 468 (Herschel 400, Double Star, Lunar, Binocular Messier) and Lunar 100
469 (Charles Wood, Sky & Telescope): ask for permission or leave them to user
470 program files; IMO/COBS/AAVSO exports.
469- AR camera overlay: later. First measure draw time and pointing on a 471- AR camera overlay: later. First measure draw time and pointing on a
470 device and add one-object alignment with a gyroscope heading. 472 device and add one-object alignment with a gyroscope heading.
471 473
472* before publishing 474* before publishing
473- App Store Connect: privacy policy URL https://krz.sh/privacy/moonrise/. 475- App Store Connect: privacy policy URL https://krz.sh/privacy/moonrise/.
474- Decide on the Astronomical League lists (Herschel 400, Double Star, Lunar, 476- Eclipse safety wording checked against AAS Solar Eclipse Task Force and
475 Binocular Messier) and Lunar 100 (Charles Wood, Sky & Telescope): ask for 477 NASA guidance on 2026-10-21; an outside reviewer would still be welcome.
476 permission or leave them to user program files.
477- Review of the eclipse safety wording outside engineering.
478- App Store Connect privacy label: Location, Coarse Location, App 478- App Store Connect privacy label: Location, Coarse Location, App
479 Functionality, not linked, not used for tracking (WeatherKit). 479 Functionality, not linked, not used for tracking (WeatherKit).
480- WeatherKit: check a real forecast on a signed device build. 480- WeatherKit: check a real forecast on a signed device build.
Packages/MoonriseKit/Sources/SkyEngine/EclipseTimeline.swift +2 −2
@@ -93,7 +93,7 @@ public struct EclipseTimeline: Sendable {
93 for n in 1...5 { cues.append(cue(c2.addingTimeInterval(-Double(n)), "\(n)")) } 93 for n in 1...5 { cues.append(cue(c2.addingTimeInterval(-Double(n)), "\(n)")) }
94 switch withheld { 94 switch withheld {
95 case nil: 95 case nil:
96 cues.append(cue(c2, "Totality. Wait until the last bead of sunlight has gone, then glasses off.", .long)) 96 cues.append(cue(c2, "Totality. Once no sunlight shows through your glasses, not even one bead, glasses off.", .long))
97 case .short: 97 case .short:
98 cues.append(cue(c2, "Totality here is under \(Int(Self.minimumTotality)) seconds. Keep your glasses on.", .long, warning: true)) 98 cues.append(cue(c2, "Totality here is under \(Int(Self.minimumTotality)) seconds. Keep your glasses on.", .long, warning: true))
99 case .imprecise: 99 case .imprecise:
@@ -103,7 +103,7 @@ public struct EclipseTimeline: Sendable {
103 } 103 }
104 let duration = c3.timeIntervalSince(c2) 104 let duration = c3.timeIntervalSince(c2)
105 if duration >= 60 { cues.append(cue(c3.addingTimeInterval(-30), "Thirty seconds of totality left.")) } 105 if duration >= 60 { cues.append(cue(c3.addingTimeInterval(-30), "Thirty seconds of totality left.")) }
106 cues.append(cue(c3.addingTimeInterval(-10), "Glasses on.", .long, warning: true)) 106 cues.append(cue(c3.addingTimeInterval(-15), "Glasses on, and filters back on cameras and binoculars.", .long, warning: true))
107 cues.append(cue(c3, "Third contact. Beads and the diamond ring on the other side, through your glasses.", .double)) 107 cues.append(cue(c3, "Third contact. Beads and the diamond ring on the other side, through your glasses.", .double))
108 cues.append(cue(c3.addingTimeInterval(30), "Watch the white sheet for shadow bands again.")) 108 cues.append(cue(c3.addingTimeInterval(30), "Watch the white sheet for shadow bands again."))
109 cues.append(cue(e.partialEnd, "Last contact. The eclipse is over.")) 109 cues.append(cue(e.partialEnd, "Last contact. The eclipse is over."))
Packages/MoonriseKit/Tests/SkyEngineTests/EclipseTimelineTests.swift +3 −3
@@ -17,15 +17,15 @@ private func offCues(_ t: EclipseTimeline) -> [EclipseTimeline.Cue] { t.cues.fil
17 let off = offCues(t) 17 let off = offCues(t)
18 #expect(off.count == 1) 18 #expect(off.count == 1)
19 #expect(off.first?.date == t.eclipse.centralBegin) 19 #expect(off.first?.date == t.eclipse.centralBegin)
20 #expect(off.first?.text.contains("last bead") == true) 20 #expect(off.first?.text.contains("not even one bead") == true)
21} 21}
22 22
23@Test func glassesOnTenSecondsBeforeThirdContact() throws { 23@Test func glassesOnFifteenSecondsBeforeThirdContact() throws {
24 for accuracy in [5.0, 500, nil] { 24 for accuracy in [5.0, 500, nil] {
25 let t = try timeline(tarifa, accuracy: accuracy) 25 let t = try timeline(tarifa, accuracy: accuracy)
26 let c3 = try #require(t.eclipse.centralEnd) 26 let c3 = try #require(t.eclipse.centralEnd)
27 let on = t.cues.filter { $0.text.hasPrefix("Glasses on") } 27 let on = t.cues.filter { $0.text.hasPrefix("Glasses on") }
28 #expect(on.map(\.date) == [c3.addingTimeInterval(-10)]) 28 #expect(on.map(\.date) == [c3.addingTimeInterval(-15)])
29 #expect(on.first?.warning == true) 29 #expect(on.first?.warning == true)
30 } 30 }
31} 31}