| commit | cc0ea8bb251c464d55e831ed7e11a2f3f7371d38 | [log] |
|---|---|---|
| author | Eike Rathke <erack@redhat.com> | Wed May 03 16:36:20 2017 +0200 |
| committer | Eike Rathke <erack@redhat.com> | Wed May 03 16:37:50 2017 +0200 |
| tree | f3b8ad3adce8b87d319af3cce8525a45507b567c | |
| parent | c52f2780b5983cdbafabfcf97eb6fc2c6d934b51 [diff] |
More likely month pos first Change-Id: I0033c176071642f8df245307af79b8505644a004
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 43548c0..f016638 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx
@@ -2092,7 +2092,7 @@ RTLFUNC(CDateFromIso) if (!comphelper::string::isdigitAsciiString(aStr)) break; const sal_Int32 nMonthPos = (nLen == 6 ? 2 : (nLen == 9 ? 5 : 4)); const sal_Int32 nMonthPos = (nLen == 8 ? 4 : (nLen == 6 ? 2 : 5)); if (nMonthPos == 2) bUseTwoDigitYear = true; aYearStr = aStr.copy( 0, nMonthPos );