Commit 2d97f6396e
Verified · cmc
Layout: unified · split
Packages/MoonriseKit/Sources/SkyEngine/DailySummary.swift +1 −1
| @@ -41,7 +41,7 @@ public struct DailySummary: Sendable, Equatable { | |||
| 41 | if planets.isEmpty { | 41 | if planets.isEmpty { |
| 42 | lines.append("No bright planets above 10° tonight.") | 42 | lines.append("No bright planets above 10° tonight.") |
| 43 | } else { | 43 | } else { |
| 44 | lines.append("Up tonight: \(ListFormatter.localizedString(byJoining: planets)).") | 44 | lines.append("Up tonight: \(planets.formatted(.list(type: .and).locale(locale))).") |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | if let pass = passes | 47 | if let pass = passes |