Elaborate shortDayName(), etc using default locale.
QDate::toString() should explain QDate::shortDayName() and QDate::shortMonthName() will be localized name using the default locale from the system. Task-number: QTBUG-28522 Change-Id: I027a72773b5772bf00344f14a4b522e41c9e63db Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
b6250913be
commit
4cf112b641
@ -549,8 +549,8 @@ int QDate::weekNumber(int *yearNumber) const
|
||||
\li 12 = "Dec"
|
||||
\endlist
|
||||
|
||||
The month names will be localized according to the system's locale
|
||||
settings.
|
||||
The month names will be localized according to the system's default
|
||||
locale settings.
|
||||
|
||||
Returns an empty string if the date is invalid.
|
||||
|
||||
@ -596,8 +596,8 @@ QString QDate::shortMonthName(int month, QDate::MonthNameType type)
|
||||
\li 12 = "December"
|
||||
\endlist
|
||||
|
||||
The month names will be localized according to the system's locale
|
||||
settings.
|
||||
The month names will be localized according to the system's default
|
||||
locale settings.
|
||||
|
||||
Returns an empty string if the date is invalid.
|
||||
|
||||
@ -638,8 +638,8 @@ QString QDate::longMonthName(int month, MonthNameType type)
|
||||
\li 7 = "Sun"
|
||||
\endlist
|
||||
|
||||
The day names will be localized according to the system's locale
|
||||
settings.
|
||||
The day names will be localized according to the system's default
|
||||
locale settings.
|
||||
|
||||
Returns an empty string if the date is invalid.
|
||||
|
||||
@ -680,8 +680,8 @@ QString QDate::shortDayName(int weekday, MonthNameType type)
|
||||
\li 7 = "Sunday"
|
||||
\endlist
|
||||
|
||||
The day names will be localized according to the system's locale
|
||||
settings.
|
||||
The day names will be localized according to the system's default
|
||||
locale settings.
|
||||
|
||||
Returns an empty string if the date is invalid.
|
||||
|
||||
@ -718,8 +718,8 @@ QString QDate::longDayName(int weekday, MonthNameType type)
|
||||
If the \a format is Qt::TextDate, the string is formatted in
|
||||
the default way. QDate::shortDayName() and QDate::shortMonthName()
|
||||
are used to generate the string, so the day and month names will
|
||||
be localized names. An example of this formatting is
|
||||
"Sat May 20 1995".
|
||||
be localized names using the default locale from the system. An
|
||||
example of this formatting is "Sat May 20 1995".
|
||||
|
||||
If the \a format is Qt::ISODate, the string format corresponds
|
||||
to the ISO 8601 extended specification for representations of
|
||||
|
Loading…
Reference in New Issue
Block a user