Duration type parameter in Shortcuts - fractional values not working

I am now adding new shortcut actions in my app in preparation for iOS 27.3 and Siri AI. I am using the Duration parameter in one of my actions:

@Parameter(title: "Duration", default: .seconds(1500), defaultUnit: .minutes)
var duration: Duration

But this has two problems:

  1. The specified default value does not appear in the parameter summary in the Shortcuts editor. But it is there internally, so user wrongly doesn't get prompted for it when the shortcut runs.
  2. When I enter a fractional value (such as 1,5 hours), my app intent handling code only receives 3600 seconds - it shaves the fractional part entirely.


These issues are happening on all versions of iOS that I tried (iOS 26..5, iOS 27.0, iOS 27.3 beta 2). Also what might be relevant: using Measurement<UnitDuration> does not have these issues, but I wanted to use Duration because it's the more modern option that is supposed to work better with Siri AI.

Both problems are easily reproducible. I have filed separate Feedbacks for both of them (FB25792218 and FB25792670), including sample code, sysdiagnose, and screenshots clearly demonstrating each issue.

Since these seem to be easily fixable issues: I'd love to hear if there is any chance of this getting fixed before the public release of iOS 27.3? Thank you.