-
Notifications
You must be signed in to change notification settings - Fork 991
Closed
Description
When executing the code:
var oneDay = TimeSpan.FromDays(1);
oneDay.Humanize(
culture: CultureInfo.GetCultureInfo("ru"),
toWords: false
);
Result:
"один день"
Instead of the expected result:
"1 день"
This result is not only in Russian localization, but also in many others!
I think that you still need to take into account the toWords parameter with a single value, most likely you can fix it here:
if (count == 1) |
P.S. Congratulations to everyone on the fact that the library has begun to be updated again 🥰
Metadata
Metadata
Assignees
Labels
No labels