This commit is contained in:
HAM!DREZA
2024-06-17 09:09:00 +03:30
parent 2886e999f1
commit 3f9e0d7615
11 changed files with 666 additions and 234 deletions
+1
View File
@@ -0,0 +1 @@
export const jDate = (d) => new Date(d).toLocaleDateString('fa-IR')
+5
View File
@@ -0,0 +1,5 @@
// export const numberFormat = (number) => new Intl.NumberFormat('en-IN', { maximumSignificantDigits: 3 }).format(number)
export const numberFormat = (number) => {
return new Intl.NumberFormat().format(number)
}