From 8f3d521600c5f87826b3460b562058c4dc250925 Mon Sep 17 00:00:00 2001 From: wei Date: Fri, 7 May 2021 10:02:13 +0800 Subject: [PATCH] 0.14.1 - [Bug] Fix custom m/d format not convert datetime #222 --- docs/README.md | 3 + docs/README.zh-CN.md | 3 + docs/README.zh-Hant.md | 3 + samples/xlsx/TestIssue222.xlsx | Bin 0 -> 9673 bytes samples/xlsx/TestIssue222/[Content_Types].xml | 2 + samples/xlsx/TestIssue222/_rels/.rels | 2 + samples/xlsx/TestIssue222/docProps/app.xml | 2 + samples/xlsx/TestIssue222/docProps/core.xml | 2 + samples/xlsx/TestIssue222/docProps/custom.xml | 2 + .../TestIssue222/xl/_rels/workbook.xml.rels | 2 + .../xl/printerSettings/printerSettings1.bin | Bin 0 -> 1760 bytes .../xlsx/TestIssue222/xl/sharedStrings.xml | 2 + samples/xlsx/TestIssue222/xl/styles.xml | 2 + samples/xlsx/TestIssue222/xl/theme/theme1.xml | 2 + samples/xlsx/TestIssue222/xl/workbook.xml | 2 + .../xl/worksheets/_rels/sheet1.xml.rels | 2 + .../TestIssue222/xl/worksheets/sheet1.xml | 75 ++++++++++++++++++ src/MiniExcel/MiniExcelLibs.csproj | 2 +- src/MiniExcel/OpenXml/ExcelOpenXmlStyles.cs | 3 + tests/MiniExcelTests/MiniExcelIssueTests.cs | 13 +++ 20 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 samples/xlsx/TestIssue222.xlsx create mode 100644 samples/xlsx/TestIssue222/[Content_Types].xml create mode 100644 samples/xlsx/TestIssue222/_rels/.rels create mode 100644 samples/xlsx/TestIssue222/docProps/app.xml create mode 100644 samples/xlsx/TestIssue222/docProps/core.xml create mode 100644 samples/xlsx/TestIssue222/docProps/custom.xml create mode 100644 samples/xlsx/TestIssue222/xl/_rels/workbook.xml.rels create mode 100644 samples/xlsx/TestIssue222/xl/printerSettings/printerSettings1.bin create mode 100644 samples/xlsx/TestIssue222/xl/sharedStrings.xml create mode 100644 samples/xlsx/TestIssue222/xl/styles.xml create mode 100644 samples/xlsx/TestIssue222/xl/theme/theme1.xml create mode 100644 samples/xlsx/TestIssue222/xl/workbook.xml create mode 100644 samples/xlsx/TestIssue222/xl/worksheets/_rels/sheet1.xml.rels create mode 100644 samples/xlsx/TestIssue222/xl/worksheets/sheet1.xml diff --git a/docs/README.md b/docs/README.md index cd000c3..feccfc3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -6,6 +6,9 @@ --- +### 0.14.1 +- [Bug] Fix custom m/d format not convert datetime #222 + ### 0.14.0 - [New] Query、GetColumns support startCell #147 - [New] GetColumns support read headers diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.md index 79166d8..bbc6b0d 100644 --- a/docs/README.zh-CN.md +++ b/docs/README.zh-CN.md @@ -7,6 +7,9 @@ --- +### 0.14.1 +- [Bug] 修正自定义 m/d 格式没转成 datetime #222 + ### 0.14.0 - [New] Query、GetColumns 支持 startCell 能指定 cell 开始读取数据 #147 - [New] GetColumns 支持读取表头 diff --git a/docs/README.zh-Hant.md b/docs/README.zh-Hant.md index 1957762..4ae5a80 100644 --- a/docs/README.zh-Hant.md +++ b/docs/README.zh-Hant.md @@ -7,6 +7,9 @@ --- +### 0.14.1 +- [Bug] 修正自定義 m/d 格式沒轉成 datetime #222 + ### 0.14.0 - [New] Query、GetColumns 支持 startCell 能指定 cell 開始讀取資料 #147 - [New] GetColumns 支持讀取表頭 diff --git a/samples/xlsx/TestIssue222.xlsx b/samples/xlsx/TestIssue222.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..a13b29bf4527bb6db88505d10e98239634d12750 GIT binary patch literal 9673 zcmbVx1yoh*^EL>F?oI)vM3C-~M!LJDyBm=%$%AwXNGPDdp#`K7BqRjsZlt@ugIpBk z{_cOR@30p8?6clI&z@)Iotbw=P7(?l3*z$gRVr8E*O!0(!Go`cHU@I`HntA*a{nxY z1OG?{(b*$H7YhjifeQrzfp&A5zOC&OS1Zd@V1o=HBU<1_>@mvYN%ai{CFN)XrGN)0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{ujdS8RJca74Y8ujc`42{QrTtJz2X6p$hI* z|AF{DXZtUZYv%qib=L?`w~XKq{i}C&Q)qJc72VNCM!)Dkw$lD}{V$=Iw}igE68hIj zivHg~A}6nGEU5PHHoiUix=GLXe+T&s^w%8hCh*^;zt;ATc2~}Id-QY@xEma@|7{TU zUnpCz|K{)t<@QYCCJG^V!6nM?3B`Yj$C&+F{9U`>-h4~okoCJ6dQkxqZ6739<!sMX1s~yDYs8L14g*M zUL*gp$6ZaZZfU{@J~-dj + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/_rels/.rels b/samples/xlsx/TestIssue222/_rels/.rels new file mode 100644 index 0000000..b56d8ce --- /dev/null +++ b/samples/xlsx/TestIssue222/_rels/.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/docProps/app.xml b/samples/xlsx/TestIssue222/docProps/app.xml new file mode 100644 index 0000000..ff50e17 --- /dev/null +++ b/samples/xlsx/TestIssue222/docProps/app.xml @@ -0,0 +1,2 @@ + +Microsoft Excel0false工作表11WWW.YlmF.CoMfalsefalsefalse14.0300 \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/docProps/core.xml b/samples/xlsx/TestIssue222/docProps/core.xml new file mode 100644 index 0000000..51e8293 --- /dev/null +++ b/samples/xlsx/TestIssue222/docProps/core.xml @@ -0,0 +1,2 @@ + +userliangqi2012-02-04T08:56:57Z2021-05-06T10:40:47Z \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/docProps/custom.xml b/samples/xlsx/TestIssue222/docProps/custom.xml new file mode 100644 index 0000000..051037d --- /dev/null +++ b/samples/xlsx/TestIssue222/docProps/custom.xml @@ -0,0 +1,2 @@ + +2052-11.1.0.9999 \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/_rels/workbook.xml.rels b/samples/xlsx/TestIssue222/xl/_rels/workbook.xml.rels new file mode 100644 index 0000000..65485f7 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/_rels/workbook.xml.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/printerSettings/printerSettings1.bin b/samples/xlsx/TestIssue222/xl/printerSettings/printerSettings1.bin new file mode 100644 index 0000000000000000000000000000000000000000..9220864288ab51f6359a757fa90e425504aa22f0 GIT binary patch literal 1760 zcmeZZNM$Hz$N`ciK&Zvt0%#aNvix^TE6c{{!A_@#XKz=b$O%a0^Sfv6`w1@!& z7+ILv?l7>hId5lRVr1ZCn8j_vk;1^pz|Rl?R42Wg|Vj&>o zKMG1Ne1z43;Zef$Omul +订单编号买家会员名买家支付宝帐号总金额买家留言收货人姓名收货人地址联系电话联系手机订单创建时间订单付款时间订单备注宝贝总数量需要发票发票抬头赠品所属活动礼品SKU张叶楠胡晓蕾任立冬蒋影王永振张娟杨静丽栾娜王海彦D07156蛋蛋款收到后让财务写日志 \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/styles.xml b/samples/xlsx/TestIssue222/xl/styles.xml new file mode 100644 index 0000000..93ac084 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/styles.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/theme/theme1.xml b/samples/xlsx/TestIssue222/xl/theme/theme1.xml new file mode 100644 index 0000000..00ef3c0 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/theme/theme1.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/workbook.xml b/samples/xlsx/TestIssue222/xl/workbook.xml new file mode 100644 index 0000000..f0af9d0 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/workbook.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/worksheets/_rels/sheet1.xml.rels b/samples/xlsx/TestIssue222/xl/worksheets/_rels/sheet1.xml.rels new file mode 100644 index 0000000..5a9ac71 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/worksheets/_rels/sheet1.xml.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/samples/xlsx/TestIssue222/xl/worksheets/sheet1.xml b/samples/xlsx/TestIssue222/xl/worksheets/sheet1.xml new file mode 100644 index 0000000..d80c8b3 --- /dev/null +++ b/samples/xlsx/TestIssue222/xl/worksheets/sheet1.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + 10 + + + + + 44315 + + + 44315 + + + + + 44315 + + + 44315 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/MiniExcel/MiniExcelLibs.csproj b/src/MiniExcel/MiniExcelLibs.csproj index d7c2b77..8811f12 100644 --- a/src/MiniExcel/MiniExcelLibs.csproj +++ b/src/MiniExcel/MiniExcelLibs.csproj @@ -1,7 +1,7 @@ net45;netstandard2.0;net5.0 - 0.14.0 + 0.14.1 MiniExcel diff --git a/src/MiniExcel/OpenXml/ExcelOpenXmlStyles.cs b/src/MiniExcel/OpenXml/ExcelOpenXmlStyles.cs index 7019b45..8789602 100644 --- a/src/MiniExcel/OpenXml/ExcelOpenXmlStyles.cs +++ b/src/MiniExcel/OpenXml/ExcelOpenXmlStyles.cs @@ -148,6 +148,9 @@ { 47, new NumberFormatString("mm:ss.0",typeof(TimeSpan?)) }, { 48, new NumberFormatString("##0.0E+0",typeof(string)) }, { 49, new NumberFormatString("@",typeof(string)) }, + + // issue 222 + { 58, new NumberFormatString("m/d",typeof(DateTime?)) }, }; } diff --git a/tests/MiniExcelTests/MiniExcelIssueTests.cs b/tests/MiniExcelTests/MiniExcelIssueTests.cs index d123c13..b594e7d 100644 --- a/tests/MiniExcelTests/MiniExcelIssueTests.cs +++ b/tests/MiniExcelTests/MiniExcelIssueTests.cs @@ -25,6 +25,19 @@ namespace MiniExcelLibs.Tests this.output = output; } + /// + /// [Custom yyyy-MM-dd format not convert datetime · Issue #222] + /// (https://github.com/shps951023/MiniExcel/issues/222) + /// + [Fact] + public void Issue222() + { + var path = PathHelper.GetSamplePath("xlsx/TestIssue222.xlsx"); + var rows = MiniExcel.Query(path).ToList(); + Assert.Equal(typeof(DateTime), rows[1].A.GetType()); + Assert.Equal(new DateTime(2021,4,29), rows[1].A); + } + /// /// Query Support StartCell #147 /// https://github.com/shps951023/MiniExcel/issues/147