https://bugs.kde.org/show_bug.cgi?id=462370

            Bug ID: 462370
           Summary: Time values in XY-diagram incorrect after
                    saving/opening
    Classification: Applications
           Product: LabPlot2
           Version: 2.9.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: alexander.se...@web.de
          Reporter: robgrueb...@gmail.com
  Target Milestone: ---

Created attachment 154120
  --> https://bugs.kde.org/attachment.cgi?id=154120&action=edit
2 Screenshots, csv-File, LabPlot-Project

SUMMARY
After importing temperature values, the time stamps of the data points in the
XY-diagram are correct. After saving and reopening the project, the time values
in the diagram are shifted by 1 hour. In the worksheet they are or remain
correct.


STEPS TO REPRODUCE
1.      Start LabPlot
2.      Add a new table
3.      Import csv file "LogTF_Issue_LP.csv" with the settings: 
   Column separator = ";"
   Decimal separator =","
   Date-time format =dd.MM.yyyy hh:mm:ss
   (everything else= default)
4.      Define column " Messzeitpunkt" as [x].
5.      Create XY-diagramm: "Temperatur in °C" vs " Messzeitpunkt".
6.      Compare timestamps of the first data point in the worksheet and in the
graph: Both are "18:56:20" see screenshot "IS01_LBTS01.png"
7.      Save the project as "Labplot_IssueTime.lml".
8.      Exit LabPlot
9.      Open LabPlot and load the project "Labplot_IssueTime.lml"
*) see note
10.     Compare the time stamp of the first data point in the worksheet and in
the graph: In the graphic it is "19:56:20", see screenshot "IS01_LBTS02.png".

*) note: Check settings in the "Import from file" dialogue: after opening: the
setting column separator is lost, the others remain.


OBSERVED RESULT
After opening the project, the time values in the XY diagram are shifted by 1h

EXPECTED RESULT
Matching time values in the spreadsheet and the linked chart

SOFTWARE/OS VERSIONS
System: Windows 10 Version 2009
Lokalisierung: English,United States (Dezimalpunkt ',', Tausendertrenner ' ')
Zahlenformat: Dezimalpunkt ',', Tausendertrenner ' ', Exponentialzeichen 'e',
Nullzeichen '0', Prozentzeichen '%', Positiv-/Negativzeichen '+'/'-'
(Aktualisiert beim Neustart)
Architektur: x86_64-little_endian-llp64
Kernel: winnt 10.0.19044
C++ Compiler: MSVC 19.29.30038.1
C++ Compiler Optionen: /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd4250 /wd4251 /wd4396
/wd4661 /Zc:__cplusplus -O2 -W3 -DPSAPI_VERSION=1

ADDITIONAL INFORMATION
-

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to