diff --git a/app/Podfile.lock b/app/Podfile.lock index ea122f5..65ba89b 100644 --- a/app/Podfile.lock +++ b/app/Podfile.lock @@ -1,6 +1,6 @@ PODS: - AELog (0.6.3) - - BusX (2024.01.16) + - BusX (2024.01.26) - MeetupIdX (2023.12.31): - AELog - BusX @@ -34,7 +34,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AELog: f732b70f7a9d1b4c6a3676304192b3908f362133 - BusX: 7c7675152d44023781c7d46cda3617ceee41312f + BusX: cec0d774212a449bed1896ad7d7bb9c4c53e0cbd MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308 MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91 MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185 diff --git a/src/App.swift b/src/App.swift index 1dbdd4c..97e8df1 100644 --- a/src/App.swift +++ b/src/App.swift @@ -11,8 +11,9 @@ struct Content: View { @StateObject var adates = BusUI.Value(Mic.K.activityDates, [String: Date]()) - func val(_ k: String) -> Date { - adates.v[k] ?? .distantPast + func val(_ k: String) -> String { + let dt = adates.v[k] ?? .distantPast + return String(describing: Int(dt.timeIntervalSince1970)) } var body: some View { @@ -33,7 +34,7 @@ struct Content: View { .padding() List { ForEach(ids, id: \.self) { - Text("\($0): \(val($0).timeIntervalSince1970)") + Text("\($0): \(val($0))") } } }