push rasad front on new repo

This commit is contained in:
2026-01-18 14:32:49 +03:30
commit 4fe6e70525
2139 changed files with 303150 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
export function isDateOlderThanToday(date) {
// Create a Date object for today's date
var today = new Date();
today.toLocaleString("fa-IR", { timeZone: "Asia/Tehran" });
// Create a Date object for the input date
// Compare the input date with today's date
if (date < today) {
return true; // The input date is older than today
} else {
return false; // The input date is today or a future date
}
}