commit 025000f5dbc368ab5a0a52801fd8460a26b24cda
parent 2584772c9908049e23431f686653cda28e9cd249
Author: Michael Camilleri <[email protected]>
Date: Sun, 28 Jun 2026 01:27:08 +0900
Make date formatting more consistent
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Crossmate/Views/Puzzle/SuccessPanel.swift b/Crossmate/Views/Puzzle/SuccessPanel.swift
@@ -198,7 +198,7 @@ struct SuccessPanel: View {
.font(.subheadline.weight(.semibold))
.lineLimit(1)
if let date = session.puzzle.date {
- Text(date, format: .dateTime.day().month(.abbreviated).year())
+ Text(date.formatted(date: .long, time: .omitted))
.font(.caption)
.foregroundStyle(.secondary)
.lineLimit(1)