diff options
Diffstat (limited to 'odb/qt/date-time/mysql/qdate-traits.hxx')
-rw-r--r-- | odb/qt/date-time/mysql/qdate-traits.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/qt/date-time/mysql/qdate-traits.hxx b/odb/qt/date-time/mysql/qdate-traits.hxx index d3dc1f1..e41cc03 100644 --- a/odb/qt/date-time/mysql/qdate-traits.hxx +++ b/odb/qt/date-time/mysql/qdate-traits.hxx @@ -52,6 +52,11 @@ namespace odb i.year = static_cast<unsigned int> (v.year ()); i.month = static_cast<unsigned int> (v.month ()); i.day = static_cast<unsigned int> (v.day ()); + + i.hour = 0; + i.minute = 0; + i.second = 0; + i.second_part = 0; } } }; |