When using relative, offset, or timer style with a date in a Text view in #SwiftUI, the time updates automatically. To prevent the UI from jittering, we can apply the monospacedDigit() modifier to the Text, so it uses fixed-width numeric characters.

Learn more: https://nilcoalescing.com/blog/DynamicDatesWithMonospacedDigits/

Dynamic dates with monospaced digits in SwiftUI

Display a self-updating date and time inside a SwiftUI Text view and prevent the UI from moving as the digits in the date change.

Nil Coalescing
@natpanferova OMG I was looking for that a month ago. “Tabular Numbers” is what I was searching for and it was frustrating.
@natpanferova you stopped recording right before seeing "31" seconds which would have been the perfect example..