[Libreoffice-commits] core.git: sc/qa
Eike Rathke
erack at redhat.com
Tue Jan 5 05:26:57 PST 2016
sc/qa/unit/data/contentCSV/date-time-functions.csv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1efc41a87e2b9491b2a7471b1154a4d586a21c37
Author: Eike Rathke <erack at redhat.com>
Date: Tue Jan 5 14:16:27 2016 +0100
tdf#96198 adapt unit test to reality, tdf#50950 follow-up
* old WEEKNUM(date,1) (saved as ISOWEEKNUM(date,1)) now results in
Err:504 because there is no match to convert to.
* old WEEKNUM(date,2) (saved as ISOWEEKNUM(date,2)) is now converted to
ISOWEEKNUM(date) and for the sample date 1995-01-01 week 52 is the
correct result, the test case erroneously tested against week 1
because the implementation of the now current WEEKNUM(date,2) was
wrong and even if now right doesn't match the calculation of the ISO
week.
Change-Id: Ia6940fce1f97639ea9b04f05172a64eb46b65635
diff --git a/sc/qa/unit/data/contentCSV/date-time-functions.csv b/sc/qa/unit/data/contentCSV/date-time-functions.csv
index 33aa540..a9e3ddd 100644
--- a/sc/qa/unit/data/contentCSV/date-time-functions.csv
+++ b/sc/qa/unit/data/contentCSV/date-time-functions.csv
@@ -21,7 +21,7 @@
4,3,4
52
1,1,52
-1,1
+Err:504,52
52
10,11
52,52
More information about the Libreoffice-commits
mailing list