diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-17 15:09:43 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-20 14:44:29 +0100 |
commit | 336fe172b10eea55eba17c18b8e36b787565346c (patch) | |
tree | 311c4613c454c487e641223ec34a82280a738f5e /src/gui/rhi/qrhimetal.mm | |
parent | aeff4b70c5b03412eea17c15efb3705cc35dc62d (diff) |
Back out of calendar support in Qt::DateFormat methods
We're deprecating the locale-specific date-formats, which are the only
ones that use the calendar. The QDateTime::toString() variant was new
in 5.15, so we can simply remove it again. The QDate one was present
in 5.14, so we need to keep it; deprecated it at 5.15 for removal at
Qt 6.
[ChangeLog][QtCore][QDate] QDate::toString(Qt::DateFormat, QCalendar)
no longer takes calendar into account for Qt::TextDate. There was no
matching support in QDateTime and the locale-independent formats are
intended to be standard, rather than customized to the user.
Fixes: QTBUG-82178
Change-Id: I09db8a82ec5a4eab22f197790264fa3a3724e383
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhimetal.mm')
0 files changed, 0 insertions, 0 deletions