You've already forked lazarus-ccr
fpspreadsheet: Remove fix for Excel's Year-1900 problem because it creates new issues... (issue #38742).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -1043,7 +1043,8 @@ begin
|
||||
begin
|
||||
if IsDateTimeFormat(numFmt) then
|
||||
begin
|
||||
if not IsTimeIntervalFormat(numFmt) then // no correction of time origin for "time interval" format
|
||||
if not IsTimeIntervalFormat(numFmt) then
|
||||
// no correction of time origin for "time" or "time interval" format
|
||||
number := ConvertExcelDateTimeToDateTime(number, FDateMode);
|
||||
sheet.WriteDateTime(cell, number);
|
||||
end
|
||||
|
Reference in New Issue
Block a user