Bug 361337

Summary: "time" dataEngine for Local is always null
Product: [Frameworks and Libraries] libplasma Reporter: Jaime Torres <jtamate>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.