Bug 361337 - "time" dataEngine for Local is always null
Summary: "time" dataEngine for Local is always null
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-03 09:31 UTC by Jaime Torres
Modified: 2016-05-01 08:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2016-04-03 09:31:50 UTC
Plasma clocks only works in systemsettings, I think the reason is that the "time" DataEngine returns an incorrect DateTime for Local, at least in opensuse 64 bits. Here you are the results of using 
plasmaengineexplorer with the time engine looking for Local:
Key                                           Value                    Type
DateTime                                                              QDateTime
Offset                                       0                            int
Timezone                               /etc/localtime    QString
Timezone Abbreviation    <empty>              QString
Timezone City                      localtime              QString
Timezone Continent          etc                          QString

I've tried to replace /etc/localtime link to /usr/share/zoneinfo/Europe/Madrid with the file itself with the same result.


Reproducible: Always



Expected Results:  
The expected results are:
Key                                           Value                                                       Type
DateTime                                dom, abr 3 11:23:55 2016 GMT    QDateTime
Offset                                       7200                                                      int
Timezone                                Europe/Madrid                                  QString
Timezone Abbreviation      CEST                                                     QString
Timezone City                       Madrid                                                 QString
Timezone Continent           Europe                                                QString
Comment 1 Jaime Torres 2016-05-01 08:59:27 UTC
From today on it works. Finally I got time and date in the desktop.