diff GeoQuiz/Components/RecentGame.swift @ 22:56add5561261

add mock data creation
author Dennis C. M. <dennis@denniscm.com>
date Wed, 26 Oct 2022 08:20:19 +0200
parents b145c408f791
children
line wrap: on
line diff
--- a/GeoQuiz/Components/RecentGame.swift	Tue Oct 25 15:30:01 2022 +0200
+++ b/GeoQuiz/Components/RecentGame.swift	Wed Oct 26 08:20:19 2022 +0200
@@ -37,7 +37,7 @@
                 Text(gameInfo.name)
                     .font(.headline)
                 
-                Text("\(game.date ?? Date(), format: .dateTime)")
+                Text("\(game.date ?? Date(), format: .dateTime.day().month().year())")
                     .font(.callout)
                     .foregroundColor(.secondary)
             }