Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#257 closed defect (fixed)

Time stamp change when saving/loading project (x-axis formatted as date/time)

Reported by: ghorwin Owned by: ghorwin
Priority: critical Milestone: 2.3.0
Version: 2.2.x Keywords:
Cc: Operating System: all

Description (last modified by ghorwin)

Henne-Ei-Problem:

  1. Mapper wird geladen (SciChart/QwtPlot ist noch leer)
  2. AxisPropertyWidget wird zuerst befüllt
  3. Bei AutoScale wird nun das QwtPlot/Achse nach ScaleDiv und Min/Max-Werten befragt: liefert Standardwerte aus (ohne DateTime: -0.6...0.6; mit DateTime 0...0). Stattdessen sollte da ein Zeitstempel in ms seit 1970 zurückgegeben werden. Im Ergebnis stehen 01.01.1970 00:00 als "MinimumDate" und "MaximumDate" im PropertyWidget. Das könnte man noch verschmerzen, weil nur optisch, aber das Problem zieht sich weiter...

Change History (4)

comment:1 by ghorwin, 4 years ago

Description: modified (diff)

comment:2 by ghorwin, 4 years ago

Resolution: fixed
Status: newclosed

DateTimeZero -> in UTC

wird geändert in LocalTime für Property::setValue

muss dann wieder zurückgesetzt auf UTC werden, wenn man toMSecsSinceEpoch() aufruft.

comment:3 by ghorwin, 4 years ago

Owner: set to ghorwin

In 1252/PostProcPart:

Fixed #257: invalid UTC/LocalTime conversion when computing min/max values from dataset.

comment:4 by ghorwin, 2 years ago

Milestone: 2.2.42.3.0

Milestone renamed

Note: See TracTickets for help on using tickets.