Commit 904d41605c563451be2591d5c57cf6b3bd8db19d

Authored by Hacene SI HADJ MOHAND
1 parent bcc46bb6

year 4 digits

src/ParamOutputImpl/Plot/InstantPlot/InstantPlot.cc
... ... @@ -188,7 +188,7 @@ void InstantPlot::preparePlotArea(double startTime, double stopTime, int interva
188 188 _panel->_updateTitleOnNextInterval = true;
189 189  
190 190 // Set start date and end date.
191   - std::string lTimeFormat("%H:%M:%S %d/%m/%y");
  191 + std::string lTimeFormat("%H:%M:%S %d/%m/%Y");
192 192  
193 193 long int lStartTime = static_cast<long int>(_time);
194 194 tm * lStartTimeTm = gmtime(&lStartTime);
... ...
src/ParamOutputImpl/Plot/Scatter/XYPlot.cc
... ... @@ -57,7 +57,7 @@ void XYPlot::preparePlotArea(double startTime, double stopTime, int intervalInde
57 57 //Title must be updated during the next interval plot
58 58 _panel->_updateTitleOnNextInterval = true;
59 59 // Set start date and end date.
60   - std::string lTimeFormat("%H:%M %d/%m/%y");
  60 + std::string lTimeFormat("%H:%M %d/%m/%Y");
61 61  
62 62 long int lStartTime = static_cast<long int>(startTime);
63 63 tm * lStartTimeTm = gmtime(&lStartTime);
... ...