Kaydet (Commit) 2448e6cf authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#114833 do not officiously force Y-M-D if D-M-Y is applicable

Change-Id: Idbfecf0ff08843db9970a301ab3c3a7317c08cda
üst bcdaaf62
...@@ -1068,7 +1068,9 @@ bool ImpSvNumberInputScan::CanForceToIso8601( DateOrder eDateOrder ) ...@@ -1068,7 +1068,9 @@ bool ImpSvNumberInputScan::CanForceToIso8601( DateOrder eDateOrder )
{ {
// As if any of the cases below can be applied, but only if a // As if any of the cases below can be applied, but only if a
// locale dependent date pattern was not matched. // locale dependent date pattern was not matched.
return (GetDatePatternNumbers() != nNumericsCnt) || !IsDatePatternNumberOfType(0,'Y'); if ((GetDatePatternNumbers() == nNumericsCnt) && IsDatePatternNumberOfType(0,'Y'))
return false;
eDateOrder = GetDateOrder();
} }
nCanForceToIso8601 = 1; nCanForceToIso8601 = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment