This article describes the international rules for time formats. The SAPUI5 time formatters will help you to comply with these rules.
Use time formatting if:
- You need to display time based on the user’s locale settings.
You can use three different types of time formats: short, medium, and long. The formatting and order of the values differ based on the locale settings that have been configured in the browser.
In short format, time is displayed to the user in hours and minutes only.
If you need to display durations, show every number and unit of measurement according to the rules for units of measurement. (For example, use long text instead of ISO codes or abbreviations.)
Use long text to display durations
Do not use abbreviations when durations have to be displayed
Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.