I am trying to create a Widget with SwiftUI, and I want to use the ".timer" style from Text to show a countdown, but the result of the Text(entry.date, style: .timer)
is 1.34.23
.
I want to use :
instead of .
as separator.
And is it possible to add a leading zero so instead of this 1.34.23
, I want this 01:34:23