fix(payment): adjust date formatting to use UTC offset for consistency
This commit is contained in:
@@ -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')
|
||||
: "تاریخ انتخاب نشده";
|
||||
|
||||
// فرمت کردن زمان
|
||||
|
||||
Reference in New Issue
Block a user