ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Timezone in QtWebEngine does not match system timezone for some places #1811

Open kugiigi opened 3 years ago

kugiigi commented 3 years ago

Steps to reproduce

  1. Go to System settings >> Time and Date >> Time zone
  2. Select Manila
  3. Open Morph and go to a site that can show current time. i.e. https://www.w3schools.com/js/tryit.asp?filename=tryjs_date_current

Expected behavior

Date in the browser matches the system time.

Actual behavior

Date in the browser does not match the system time.

Logfiles and additional information

This issue happens even in webapps and apps that use QtWebEngine like the Demo Browser. The issue also seems to only happen in certain Asian region, SEA perhaps?. Here are a few places I tried. Incorrect: Manila UTC+8 GMT-0700

Guangzhu UTC+8 GMT-0500

Seoul UTC+9 GMT+0000

Bangkok UTC+7 GMT+0000

Correct Tokyo UTC+9 GMT+0900

Mumbai UTC+5.5 GMT+0530

Frankfurt am main UTC+2 GMT+0200

Danfro commented 2 years ago

If confirmation is, that I see the same time differences... This is also on Xperia X, devel, 64bit. System set to Manila.

screenshot20210929_021928779

kugiigi commented 2 years ago

Am I the only one from these countries? Sad :grinning: Still happens in OTA-23 :(