New SwiftUI Text with relative date

Hello,

I would like to make use of the new SwiftUI Text API for a Lockscreen Widget, but I wasn't able to figure out how I can achieve what I envision:

I am looking for a way to display the days, hours, minutes since the time stamp. Of course, whenever day=0, they shouldn't be displayed. Whenever day>0, minutes can be dropped. So I assume I can set maxFieldCount: 2 for that.

This is my current code:

Text(
    .currentDate,
    format: .reference(
        to: entry.lastUseDate,
        allowedFields: [.day, .hour, .minute],
        maxFieldCount: 2,
        thresholdField: .day
    )
)

This is how it looks like; somehow the minutes are not displayed. What am I doing wrong?

New SwiftUI Text with relative date
 
 
Q