types/enums/time_metrics: fix grammar
This commit is contained in:
parent
480cb335bd
commit
915692688a
|
@ -21,7 +21,7 @@ impl TimeMetrics {
|
||||||
"w" | "weeks" | "week" | "недель" | "недели" | "неделя" | "н" => {
|
"w" | "weeks" | "week" | "недель" | "недели" | "неделя" | "н" => {
|
||||||
Self::Weeks(duration)
|
Self::Weeks(duration)
|
||||||
}
|
}
|
||||||
"m" | "mounths" | "mounth" | "месяц" | "месяца" | "месяцев" | "мес" => {
|
"m" | "months" | "month" | "месяц" | "месяца" | "месяцев" | "мес" => {
|
||||||
Self::Mounths(duration)
|
Self::Mounths(duration)
|
||||||
}
|
}
|
||||||
_ => Self::Days(duration),
|
_ => Self::Days(duration),
|
||||||
|
|
Loading…
Reference in New Issue