first commit

This commit is contained in:
2026-01-19 13:08:58 +03:30
commit 850b4a3f1e
293 changed files with 51775 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
export function getPersianMonths(monthNumbers?: number[] | null): string[] {
const persianMonths: { [key: number]: string } = {
1: "فروردین",
2: "اردیبهشت",
3: "خرداد",
4: "تیر",
5: "مرداد",
6: "شهریور",
7: "مهر",
8: "آبان",
9: "آذر",
10: "دی",
11: "بهمن",
12: "اسفند",
};
if (!monthNumbers) {
return [];
}
return monthNumbers?.map((num) => {
return persianMonths[num];
});
}