From 63931f25785e25368ee808f4e0e269f91c99d0e6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 5 Jan 2016 14:16:27 +0100 Subject: 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 (cherry picked from commit 1efc41a87e2b9491b2a7471b1154a4d586a21c37) --- sc/qa/unit/data/contentCSV/date-time-functions.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/qa/unit/data/contentCSV/date-time-functions.csv b/sc/qa/unit/data/contentCSV/date-time-functions.csv index 33aa540f7636..a9e3ddd1123d 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 -- cgit