diff options
author | pixel <pixel> | 2005-03-29 01:47:30 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-03-29 01:47:30 +0000 |
commit | 4d3e0102a2629ffb26945259c65f1a5f5fda7ab9 (patch) | |
tree | 9fa46a75583478d9d59e0f30892a01726da641e6 /lib | |
parent | bffc6b42e9ce3a7e38e9e53fb666da53645fe09b (diff) |
This wasn't working at ALL
Diffstat (limited to 'lib')
-rw-r--r-- | lib/String.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/String.cc b/lib/String.cc index 08af9ab..0c46ddd 100644 --- a/lib/String.cc +++ b/lib/String.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: String.cc,v 1.37 2005-01-05 19:37:05 pixel Exp $ */ +/* $Id: String.cc,v 1.38 2005-03-29 01:47:30 pixel Exp $ */ #include <stdio.h> #include <string.h> @@ -462,7 +462,7 @@ bool String::is_date(void) const { double String::datedif(const String & s) const { double r; if (is_date() && s.is_date()) { - r = dateCalc(str, s.str); + r = dateCalc(to_sqldate().str, s.to_sqldate().str); return r < 0 ? -r : r; } |