justkawal / excel

Excel Library for Flutter and Dart - https://pub.dev/packages/excel
MIT License
416 stars 229 forks source link

DateTimeCellValue not working on Windows #348

Open letisoft opened 5 months ago

letisoft commented 5 months ago

Hello,

something as simple as:

excel.appendRow(sheetName, [ IntCellValue(measurment.recordID), DateTimeCellValue.fromDateTime(measurment.timeRead), ....

results in "32544.63194" in a cell? This has nothing to do with the valid date I have provided.

I think that indeed none of the cells in row is correctly formated.

Any idea what I am doing wrong?

Best regards: V