Skip to content

Commit

Permalink
Added test for uppercase date format. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
andersnm committed May 18, 2019
1 parent 53b4ab5 commit ba055b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcelNumberFormat/ExcelNumberFormat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net20;netstandard1.0;netstandard2.0</TargetFrameworks>
<VersionPrefix>1.0.6</VersionPrefix>
<VersionPrefix>1.0.7</VersionPrefix>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>.NET library to parse ECMA-376 number format strings and format values like Excel and other spreadsheet softwares.</Description>
Expand Down
1 change: 1 addition & 0 deletions test/ExcelNumberFormat.Tests/Class1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public void TestDate()
Test(new DateTime(2010, 9, 26), "mm/dd/yyyy", "09/26/2010");
Test(new DateTime(2010, 9, 26), "m/d/yy", "9/26/10");
Test(new DateTime(2010, 9, 26, 12, 34, 56, 123), "m/d/yy hh:mm:ss.000", "9/26/10 12:34:56.123");
Test(new DateTime(2010, 9, 26, 12, 34, 56, 123), "YYYY-MM-DD HH:MM:SS", "2010-09-26 12:34:56");
}

[TestMethod]
Expand Down

0 comments on commit ba055b3

Please sign in to comment.