aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/adaptations/software/qsgsoftwareglyphnode_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-07-28 12:10:51 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-13 10:39:03 +0000
commita18926c736bf9de6bd652c8bb1799d4678001341 (patch)
tree6457a9aa94c2f6e12f6b780c0751f6db2718e861 /src/quick/scenegraph/adaptations/software/qsgsoftwareglyphnode_p.h
parent2c3ea30205efef22146f3c7218d60b39fee991c2 (diff)
Use QDateTime to get offsets for emscripten (wasm)
Since our wasm implementation doesn't have access to time-zone data by default, but its QDateTime implementation does manage to get offsets right for local time, use it as fall-back for V4's Date implementation's DaylightSavingTA() and getLocalTZA(). This implementation might also be viable for other cases without timezone support (and a way to reset it when the system zone has changed), but we'll need to experiment to find out. For now, since we have nothing better for wasm, use it there. In passing, update a comment about a bug report against the ECMA spec to say it's been fixed (and we're compatible with the result). Fixes: QTBUG-95314 Change-Id: I40c1537815ada950dc0b5cebd4d641f7bfc45bd9 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 373897481fb930055e6e89035b1055f8dd80b83f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software/qsgsoftwareglyphnode_p.h')
0 files changed, 0 insertions, 0 deletions