How do version 2.1+ "duration" settings work?

Version 2.1 converted all settings ending in Ms (for Milliseconds) and Duration to now accept ISO 8601 duration strings, as well as numeric values which will be interpreted as milliseconds.

These strings certainly aren’t the prettiest to look at, but they’re well-specified, you don’t have to waste your time counting zeros or dividing by 60.

  • 8601 duration strings always start with P.
  • Hour, minute, and second values follow a T.
  • PhotoStructure lets you use lowercase, if you prefer.

Here are some examples:

  • P1D is 1 day
  • PT20M is 20 minutes
  • p4dt5h6m7.890s is 4 days, 5 hours, 6 minutes, 7 seconds, and 890 milliseconds.

Know that numeric millisecond values are still supported, if that makes more sense to you.