From c0494bd98b40f030db080285e85c25630a7de7db Mon Sep 17 00:00:00 2001 From: Aaron Bishop Date: Thu, 19 May 2016 21:03:49 -0400 Subject: [PATCH] fixed ctest issues --- include/sqlpp11/data_types/time_of_day/result_field.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/sqlpp11/data_types/time_of_day/result_field.h b/include/sqlpp11/data_types/time_of_day/result_field.h index a0753db1..511fe8d6 100644 --- a/include/sqlpp11/data_types/time_of_day/result_field.h +++ b/include/sqlpp11/data_types/time_of_day/result_field.h @@ -64,8 +64,7 @@ namespace sqlpp } else { - const auto time = ::date::make_time(::sqlpp::chrono::floor<::date::days>(e.value() % std::chrono::duration(24))); - os << time; + os << ::date::make_time(e.value()); } return os; }