D5770: Avoid showing wrong timezone suffix in krunner time

Ronnie Thomas noreply at phabricator.kde.org
Mon May 8 15:05:41 UTC 2017


rthomas created this revision.
rthomas added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Krunner is suffixing the local timezone when asked for the time of other regions. QLocale doesn't provide a way to set the locale based only on the country (which is provided by QDateTime), so it would be better if we just use the short time format and avoid showing the timezone altogether.
  
  - Current time in my zone
  
  F3745768: Screenshot_20170311_222230.png <https://phabricator.kde.org/F3745768>
  
  - Before Patch
  
  F3745775: Screenshot_20170311_222126.png <https://phabricator.kde.org/F3745775>
  
  - After Patch
  
  F3745776: Screenshot_20170311_222355.png <https://phabricator.kde.org/F3745776>

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D5770

AFFECTED FILES
  runners/datetime/datetimerunner.cpp

To: rthomas
Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170508/a9dd96fd/attachment.html>


More information about the Plasma-devel mailing list