diff options
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; } |