fix(payment): adjust date formatting to use UTC offset for consistency

This commit is contained in:
hamed
2026-07-16 00:30:20 +03:30
parent 165a0a2240
commit 6f9640cea6
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function Detail({ doctor, step, setStep, selectedSlot, selectedDate }) {
// فرمت کردن تاریخ به شمسی
const formattedDate = selectedDate
? moment.unix(selectedDate).locale('fa').format('jDD jMMMM jYYYY')
? moment.unix(selectedDate).utcOffset(210).locale('fa').format('jDD jMMMM jYYYY')
: "تاریخ انتخاب نشده";
// فرمت کردن زمان