diff --git a/partners_api/booking_availability_params.cpp b/partners_api/booking_availability_params.cpp index 506b764a13..d9bf01d4fc 100644 --- a/partners_api/booking_availability_params.cpp +++ b/partners_api/booking_availability_params.cpp @@ -72,8 +72,8 @@ AvailabilityParams AvailabilityParams::MakeDefault() { AvailabilityParams result; // Use tomorrow and day after tomorrow by default. - result.m_checkin = Clock::now() + std::chrono::hours(24); - result.m_checkout = Clock::now() + std::chrono::hours(48); + result.m_checkin = Clock::now(); + result.m_checkout = Clock::now() + std::chrono::hours(24); // Use two adults without children. result.m_rooms = {{2, Room::kNoChildren}}; diff --git a/partners_api/booking_block_params.cpp b/partners_api/booking_block_params.cpp index 22921e5607..561adb0808 100644 --- a/partners_api/booking_block_params.cpp +++ b/partners_api/booking_block_params.cpp @@ -11,8 +11,8 @@ BlockParams BlockParams::MakeDefault() { BlockParams result; // Use tomorrow and day after tomorrow by default. - result.m_checkin = Clock::now() + std::chrono::hours(24); - result.m_checkout = Clock::now() + std::chrono::hours(48); + result.m_checkin = Clock::now(); + result.m_checkout = Clock::now() + std::chrono::hours(24); // Information about sales by default. result.m_extras = {"deal_smart", "deal_lastm", "photos"};