summaryrefslogtreecommitdiff
path: root/svtools/source/numbers
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-08-22 14:25:10 +0000
committerEike Rathke <er@openoffice.org>2001-08-22 14:25:10 +0000
commit5e4c02e4a5fff0d6291df36c4051b2feebef9062 (patch)
treefbb5ded9580d21370b8f7cf89ebe6b99b9051eab /svtools/source/numbers
parentf74a876d090baa7149bce52778b9270974a74395 (diff)
#90415# 10-Jan-94 is a valid date even if date order is MDY
Diffstat (limited to 'svtools/source/numbers')
-rw-r--r--svtools/source/numbers/zforfind.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/numbers/zforfind.cxx b/svtools/source/numbers/zforfind.cxx
index 0e5934737375..a3fe48194d83 100644
--- a/svtools/source/numbers/zforfind.cxx
+++ b/svtools/source/numbers/zforfind.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: zforfind.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: er $ $Date: 2001-08-06 10:04:15 $
+ * last change: $Author: er $ $Date: 2001-08-22 15:25:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1054,6 +1054,7 @@ BOOL ImpSvNumberInputScan::GetDateRef( Date& aDt, USHORT& nCounter,
pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 );
switch (DateFmt)
{
+ case MDY: // yes, "10-Jan-94" is valid
case DMY:
pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) );
pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) );