forked from Humanizr/Humanizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes Humanizr#898 Added DateToOrdinalWordsTests for Latvian language
- Loading branch information
1 parent
d3da1b8
commit f4bb6b4
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Humanizer.Tests.Shared/Localisation/lv/DateToOrdinalWordsTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using Xunit; | ||
|
||
namespace Humanizer.Tests.Localisation.lv | ||
{ | ||
[UseCulture("lv")] | ||
public class DateToOrdinalWordsTests | ||
{ | ||
[Fact] | ||
public void OrdinalizeString() | ||
{ | ||
Assert.Equal("1 janvāris 2015", new DateTime(2015, 1, 1).ToOrdinalWords()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters