I am creating a widget that includes a countdown to the next period of the day using a
I would like to modify the text so that it can simplify the time to the minutes and can be read as
Code Block swift Text(entry.endDate, .timer)
I would like to modify the text so that it can simplify the time to the minutes and can be read as
Is it possible to modify the format of the date with the timer textfield for the widget?5 min
At this time you can only use the DateStyles laid out in https://developer.apple.com/documentation/swiftui/text/init(_:style:). Though I'd recommend filing a feedback if you are finding you need different date and time styles which are not supported.