A formatted time value.
- watchOS 2.0+
This provider supports time values in either the 24-hour or 12-hour format and takes into account the user’s region and locale settings. As needed, the provider automatically shortens the string to fit the available space.
When formatting the time, the time text provider drops the morning/evening indicator if it cannot fit the entire time value. For example, a provider configured to display the time 10:09AM in the English-US locale would remove elements as follows until it encountered a string that fit the available space: