[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 49/69: accessibilityDate
From: |
gnunet |
Subject: |
[taler-taler-ios] 49/69: accessibilityDate |
Date: |
Fri, 19 Jan 2024 09:02:22 +0100 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit 4eb6003b04be96aa5adb12c908270f457a05a330
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Jan 18 00:03:00 2024 +0100
accessibilityDate
---
TalerWallet1/Helper/TalerDater.swift | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/TalerWallet1/Helper/TalerDater.swift
b/TalerWallet1/Helper/TalerDater.swift
index 427e0f9..b3f5e19 100644
--- a/TalerWallet1/Helper/TalerDater.swift
+++ b/TalerWallet1/Helper/TalerDater.swift
@@ -80,6 +80,15 @@ public class TalerDater: DateFormatter {
}
}
+ public static func accessibilityDate(_ date: Date?) -> String? {
+ if let date {
+ let formatted = date.formatted(date: .long, time: .shortened)
+// print(formatted)
+ return formatted
+ }
+ return nil
+ }
+
public static func dateString() -> String {
return shared.string(from: Date())
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 24/69: dbg+cleanup, (continued)
- [taler-taler-ios] 24/69: dbg+cleanup, gnunet, 2024/01/19
- [taler-taler-ios] 13/69: definitions, gnunet, 2024/01/19
- [taler-taler-ios] 23/69: aborting Notification, gnunet, 2024/01/19
- [taler-taler-ios] 28/69: AccountRestriction, gnunet, 2024/01/19
- [taler-taler-ios] 60/69: P2P Expiration Timestamp, gnunet, 2024/01/19
- [taler-taler-ios] 26/69: Layout transactions, gnunet, 2024/01/19
- [taler-taler-ios] 51/69: cleanup, gnunet, 2024/01/19
- [taler-taler-ios] 67/69: Bump version to 0.9.4 (0), gnunet, 2024/01/19
- [taler-taler-ios] 68/69: lowercased(), gnunet, 2024/01/19
- [taler-taler-ios] 54/69: Keyboard needs more time, gnunet, 2024/01/19
- [taler-taler-ios] 49/69: accessibilityDate,
gnunet <=
- [taler-taler-ios] 46/69: AccountRestriction, gnunet, 2024/01/19
- [taler-taler-ios] 59/69: bugfix, gnunet, 2024/01/19
- [taler-taler-ios] 43/69: currency == ISO 4217, gnunet, 2024/01/19
- [taler-taler-ios] 56/69: remove "code", since "currency" IS ISO-4217 already for global, gnunet, 2024/01/19
- [taler-taler-ios] 58/69: use scopeInfo, gnunet, 2024/01/19
- [taler-taler-ios] 52/69: return to Balances after tx, gnunet, 2024/01/19
- [taler-taler-ios] 33/69: bars relative to fontSize, gnunet, 2024/01/19
- [taler-taler-ios] 63/69: Locale.preferredLanguageCode, gnunet, 2024/01/19
- [taler-taler-ios] 40/69: Exchange -> Banking, gnunet, 2024/01/19
- [taler-taler-ios] 65/69: Restrictions, gnunet, 2024/01/19