diff options
Diffstat (limited to 'odb/qt/date-time/oracle/qtime-traits.hxx')
-rw-r--r-- | odb/qt/date-time/oracle/qtime-traits.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/qt/date-time/oracle/qtime-traits.hxx b/odb/qt/date-time/oracle/qtime-traits.hxx index b56bad5..7692779 100644 --- a/odb/qt/date-time/oracle/qtime-traits.hxx +++ b/odb/qt/date-time/oracle/qtime-traits.hxx @@ -37,7 +37,7 @@ namespace odb sb4 d (0), h (0), m (0), s (0), ns (0); i.get (d, h, m, s, ns); - v.setHMS (h, m, s, ns / 1000); + v.setHMS (h, m, s, ns / 1000000); } } @@ -50,7 +50,7 @@ namespace odb { is_null = false; - i.set (0, v.hour (), v.minute (), v.second (), v.msec () * 1000); + i.set (0, v.hour (), v.minute (), v.second (), v.msec () * 1000000); } } }; |