| Summary: | Time values in XY-diagram incorrect after saving/opening | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | RG <robgruebler> |
| Component: | general | Assignee: | Stefan Gerlach <stefan.gerlach> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | stefan.gerlach |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
2 Screenshots, csv-File, LabPlot-Project
Time offset in version "labplot-2.9.0-1-957-windows-cl-msvc2019-x86_64.exe" |
||
This seems to be the same problem as in https://bugs.kde.org/show_bug.cgi?id=455579 Can you try the updated version from https://binary-factory.kde.org/job/Labplot_Release_win64/ or from the MS Store? I have tried version "labplot-2.9.0-1-957-windows-cl-msvc2019-x86_64.exe" - no success. The time offset in the graph can already be seen immediately after the import. See IS01_LBTS03.png Created attachment 154143 [details]
Time offset in version "labplot-2.9.0-1-957-windows-cl-msvc2019-x86_64.exe"
Sorry, my description was inaccurate: After importing and creating the chart, the time values of the graph are ok, only the info element shows an offset of 1h. After saving, closing and opening the project, the time values in the graphic are ok, only the info element still has an offset of 1h. Cursor 1 and 2 also have an offset of 1h (19:56 instead of 18:56). Should be fixed now. Datetimes were used inconsistently in info elements and custom points. Please check the next nightly build. Success. Tested with : labplot-2.9.0-1-960-windows-cl-msvc2019-x86_64.exe Time values of info element, cursor 1 and cursor 2 are correct before and after saving/opening. Thank you. Issue can be closed. |
Created attachment 154120 [details] 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 -