summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-09-15 14:36:09 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-12-09 16:16:48 +0100
commite71099989ebde3156c23066ff2d79ae63c08ccc4 (patch)
tree82b330501c3825d503814c44531e83ddfcb4a1f6 /src/corelib/io/qdir.cpp
parente4a1705a8dc5aed7b25786e6f917383dc9d2963b (diff)
Add QDateTime::currentDateTime(const QTimeZone &)
This unifies currentDateTime(void) and currentDateTimeUtc(), adding the missing equivalents for a time-zone or fixed offset from UTC. In the process, make the documentation less wordy. [ChangeLog][QtCore][QDateTime] currentDateTime() now accepts a QTimeZone parameter to select the time representation to use for the result. Task-number: QTBUG-108199 Change-Id: I761c4bc050cc671c1c767d707f6d2dd85cc1ac0d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qdir.cpp')
0 files changed, 0 insertions, 0 deletions