Skip to content

Commit ba055b3

Browse files
committed
Added test for uppercase date format. Bump version.
1 parent 53b4ab5 commit ba055b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ExcelNumberFormat/ExcelNumberFormat.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net20;netstandard1.0;netstandard2.0</TargetFrameworks>
5-
<VersionPrefix>1.0.6</VersionPrefix>
5+
<VersionPrefix>1.0.7</VersionPrefix>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
88
<Description>.NET library to parse ECMA-376 number format strings and format values like Excel and other spreadsheet softwares.</Description>

test/ExcelNumberFormat.Tests/Class1.cs

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public void TestDate()
129129
Test(new DateTime(2010, 9, 26), "mm/dd/yyyy", "09/26/2010");
130130
Test(new DateTime(2010, 9, 26), "m/d/yy", "9/26/10");
131131
Test(new DateTime(2010, 9, 26, 12, 34, 56, 123), "m/d/yy hh:mm:ss.000", "9/26/10 12:34:56.123");
132+
Test(new DateTime(2010, 9, 26, 12, 34, 56, 123), "YYYY-MM-DD HH:MM:SS", "2010-09-26 12:34:56");
132133
}
133134

134135
[TestMethod]

0 commit comments

Comments
 (0)