This commit is contained in:
Iliyan Angelov
2025-11-17 23:50:14 +02:00
parent 0c59fe1173
commit a1bd576540
43 changed files with 2598 additions and 359 deletions

View File

@@ -15,6 +15,7 @@ import {
} from '../../services/api/paymentService';
import Loading from '../../components/common/Loading';
import { useFormatCurrency } from '../../hooks/useFormatCurrency';
import { parseDateLocal } from '../../utils/format';
import StripePaymentWrapper from '../../components/payments/StripePaymentWrapper';
const FullPaymentPage: React.FC = () => {
@@ -407,14 +408,14 @@ const FullPaymentPage: React.FC = () => {
<div>
<span className="text-gray-400 font-light">Check-in</span>
<p className="text-white font-medium">
{new Date(booking.check_in_date).toLocaleDateString('en-US')}
{parseDateLocal(booking.check_in_date).toLocaleDateString('en-US')}
</p>
</div>
<div>
<span className="text-gray-400 font-light">Check-out</span>
<p className="text-white font-medium">
{new Date(booking.check_out_date).toLocaleDateString('en-US')}
{parseDateLocal(booking.check_out_date).toLocaleDateString('en-US')}
</p>
</div>