summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-01-05 14:16:27 +0100
committerEike Rathke <erack@redhat.com>2016-01-05 14:49:49 +0100
commit63931f25785e25368ee808f4e0e269f91c99d0e6 (patch)
tree2ff4333b0bbda857ecde6d758a8255d6d240fc19
parenta7c0dcf6cf7c25420c0ea804e878861f1ba39206 (diff)
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)
-rw-r--r--sc/qa/unit/data/contentCSV/date-time-functions.csv2
1 files changed, 1 insertions, 1 deletions
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