From 4d3e0102a2629ffb26945259c65f1a5f5fda7ab9 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 29 Mar 2005 01:47:30 +0000 Subject: This wasn't working at ALL --- lib/String.cc | 4 ++-- 1 file 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 #include @@ -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; } -- cgit v1.2.3