Skip to content

Commit

Permalink
Merge pull request #1171 from rborosak/DateHumanize_MultipleDaysAgo_k…
Browse files Browse the repository at this point in the history
…ey_missing_hr
  • Loading branch information
clairernovotny authored Jan 27, 2022
2 parents 000cf88 + 16a6816 commit 333d940
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@ public void MonthsFromNow(int months, string expected)
}

[Theory]
[InlineData(-24, "prije 24 dana")]
[InlineData(-22, "prije 22 dana")]
[InlineData(-10, "prije 10 dana")]
[InlineData(-5, "prije 5 dana")]
[InlineData(-4, "prije 4 dana")]
[InlineData(-3, "prije 3 dana")]
[InlineData(-2, "prije 2 dana")]
[InlineData(-1, "jučer")]
public void DaysAgo(int days, string expected)
{
Expand Down
3 changes: 3 additions & 0 deletions src/Humanizer/Properties/Resources.hr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,7 @@
<data name="TimeSpanHumanize_SingleYear" xml:space="preserve">
<value>1 godina</value>
</data>
<data name="DateHumanize_MultipleDaysAgo_DualTrialQuadral" xml:space="preserve">
<value>prije {0} dana</value>
</data>
</root>

0 comments on commit 333d940

Please sign in to comment.