aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/mysql/gregorian-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/date-time/mysql/gregorian-traits.hxx')
-rw-r--r--odb/boost/date-time/mysql/gregorian-traits.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-traits.hxx b/odb/boost/date-time/mysql/gregorian-traits.hxx
index 0bbcb15..939fd29 100644
--- a/odb/boost/date-time/mysql/gregorian-traits.hxx
+++ b/odb/boost/date-time/mysql/gregorian-traits.hxx
@@ -51,6 +51,11 @@ namespace odb
i.year = v.year ();
i.month = v.month ();
i.day = v.day ();
+
+ i.hour = 0;
+ i.minute = 0;
+ i.second = 0;
+ i.second_part = 0;
}
}
};