-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I have an Ecto field of type utc_datetime and when I use <Text date={@item.date} /> it doesn't work. Nothing appears in the UI on the app side. Inspecting _format=swiftui shows it as coming out like <Text date="2021-04-25T06:40:00Z"></Text>, i.e., without milliseconds. To get that working I have to do <Text date={@item.date |> Calendar.strftime("%Y-%m-%dT%H:%M:%S.%fz")} />. It would be nice if <Text date={@item.date} /> worked out-of-the-box.
Library Version
0.3.1
Xcode Version
Version 16.2 (16C5032a)
Swift Version
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
On which device or simulator are you running into the problem?
iPhone
Target Device Operating System Version
iOS 18.4
Relevant log output
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working