fix(payment): adjust date formatting to use UTC offset for consistency
This commit is contained in:
@@ -99,6 +99,7 @@ export default function PaymentDetailsPage() {
|
||||
const formatDate = (timestamp) => {
|
||||
const date = new Date(parseInt(timestamp) * 1000);
|
||||
return new Intl.DateTimeFormat("fa-IR", {
|
||||
timeZone: "Asia/Tehran",
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
|
||||
Reference in New Issue
Block a user