fix reservation time

This commit is contained in:
Иван 2025-12-15 00:54:48 +03:00
parent 58d605e090
commit 7895352e76
1 changed files with 18 additions and 12 deletions

View File

@ -12,43 +12,49 @@ export class ReservationsService {
id: 1, id: 1,
yachtId: 1, yachtId: 1,
reservatorId: 1, reservatorId: 1,
startUtc: 1733097600, // Corrected: Jan 1, 2026 20:00 UTC to Jan 2, 2026 08:00 UTC
endUtc: 1733133600, startUtc: 1767369600, // Jan 1, 2026 20:00:00 UTC
endUtc: 1767412800, // Jan 2, 2026 08:00:00 UTC
}, },
{ {
id: 2, id: 2,
yachtId: 3, yachtId: 3,
reservatorId: 2, reservatorId: 2,
startUtc: 1733212800, // Jan 3, 2026 08:00 UTC to Jan 5, 2026 20:00 UTC
endUtc: 1733436000, startUtc: 1767484800, // Jan 3, 2026 08:00:00 UTC
endUtc: 1767715200, // Jan 5, 2026 20:00:00 UTC
}, },
{ {
id: 3, id: 3,
yachtId: 5, yachtId: 5,
reservatorId: 1, reservatorId: 1,
startUtc: 1733860800, // Jan 10, 2026 20:00 UTC to Jan 12, 2026 08:00 UTC
endUtc: 1734048000, startUtc: 1768070400, // Jan 10, 2026 20:00:00 UTC
endUtc: 1768176000, // Jan 12, 2026 08:00:00 UTC
}, },
{ {
id: 4, id: 4,
yachtId: 7, yachtId: 7,
reservatorId: 2, reservatorId: 2,
startUtc: 1734216000, // Jan 15, 2026 08:00 UTC to Jan 17, 2026 20:00 UTC
endUtc: 1734472800, startUtc: 1768435200, // Jan 15, 2026 08:00:00 UTC
endUtc: 1768684800, // Jan 17, 2026 20:00:00 UTC
}, },
{ {
id: 5, id: 5,
yachtId: 9, yachtId: 9,
reservatorId: 1, reservatorId: 1,
startUtc: 1734705600, // Jan 20, 2026 20:00 UTC to Jan 22, 2026 08:00 UTC
endUtc: 1734883200, startUtc: 1768944000, // Jan 20, 2026 20:00:00 UTC
endUtc: 1769049600, // Jan 22, 2026 08:00:00 UTC
}, },
{ {
id: 6, id: 6,
yachtId: 11, yachtId: 11,
reservatorId: 2, reservatorId: 2,
startUtc: 1735113600, // Jan 25, 2026 08:00 UTC to Jan 27, 2026 20:00 UTC
endUtc: 1735336800, startUtc: 1769385600, // Jan 25, 2026 08:00:00 UTC
endUtc: 1769635200, // Jan 27, 2026 20:00:00 UTC
}, },
]; ];