WIP Добавил список записей клиента
This commit is contained in:
5
src/shared/utils/getChangeStrings.js
Normal file
5
src/shared/utils/getChangeStrings.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export function getChangeMonth(month) {
|
||||
const changeStr = month.replace(/[ь,й]/g, "");
|
||||
if (changeStr.slice(-1) === "т") return changeStr + "a";
|
||||
else return changeStr + "я";
|
||||
}
|
||||
Reference in New Issue
Block a user