Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/xlsx/xlsxutility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ QDateTime datetimeFromNumber(double num, bool is1904)

#if QT_VERSION >= 0x050200
// Remove one hour to see whether the date is Daylight
QDateTime dt2 = dt.addMSecs(-3600);
QDateTime dt2 = dt.addMSecs(-1000*60*60);
if (dt2.isDaylightTime())
return dt2;
#endif
Expand Down