You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?