Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.0, 5.3.0
-
None
Description
The reference documentation misses definition of what following methods return:
- QString dateTimeFormat ( FormatType format = LongFormat ) const
- QString dateFormat ( FormatType format = LongFormat ) const
- QString timeFormat ( FormatType format = LongFormat ) const
The method reference only tells vaguely: "Returns the time format used for the current locale."
But it doesn't define what exactly is the format the QString is returned in which makes it impossible for application to trust the returned value. Is there a contract for the format?