diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
commit | 5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch) | |
tree | 485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /qtools/qdatetime.cpp | |
parent | a1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff) | |
download | Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2 |
Release-1.2.3-20001203
Diffstat (limited to 'qtools/qdatetime.cpp')
-rw-r--r-- | qtools/qdatetime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qdatetime.cpp b/qtools/qdatetime.cpp index 521a022..cecb855 100644 --- a/qtools/qdatetime.cpp +++ b/qtools/qdatetime.cpp @@ -355,7 +355,7 @@ bool QDate::setYMD( int y, int m, int d ) } jd = greg2jul( y, m, d ); #if defined(DEBUG) - ASSERT( year() == y && month() == m && day() == d ); + ASSERT( year() == (y > 99 ? y : 1900+y) && month() == m && day() == d ); #endif return TRUE; } |