diff options
author | Eike Rathke <erack@redhat.com> | 2016-01-05 19:13:54 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-01-05 19:29:17 +0100 |
commit | 902c593196741ffec2d096855369313f6bbe756e (patch) | |
tree | 2a0555aec7de54dff4239dbd94090531340d4e82 /sc/inc/helpids.h | |
parent | 5f981642889b1b9980e98ebccc3150e022a73bed (diff) |
The remaining cases when loading old and wrong ISOWEEKNUM that can't be
mapped to either new WEEKNUM or ISOWEEKNUM now are mapped to
WEEKNUM_OOO(date,mode) with calculations identical to the old and wrong
OOo WEEKNUM.
These WEEKNUM_OOO cases are still wrongly saved as ISOWEEKNUM so can be
read by 5.0 or earlier versions as the old WEEKNUM, which should be
changed for 5.3 or later.
WEEKNUM_OOO is not offered in the Function Wizard to prevent deliberate
usage.
Also reverts the interim unit test change to
sc/qa/unit/data/contentCSV/date-time-functions.csv
that was necessary to catch the error generated by ISOWEEKNUM with two
arguments.
Change-Id: I874c4c7225900f03b879f2947512ae02270cbd4f
Diffstat (limited to 'sc/inc/helpids.h')
-rw-r--r-- | sc/inc/helpids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h index a91e94077615..252940fc1dea 100644 --- a/sc/inc/helpids.h +++ b/sc/inc/helpids.h @@ -627,5 +627,6 @@ #define HID_FUNC_FLOOR_MATH "SC_HID_FUNC_FLOOR_MATH" #define HID_FUNC_FLOOR_PRECISE "SC_HID_FUNC_FLOOR_PRECISE" #define HID_FUNC_RAWSUBTRACT "SC_HID_FUNC_RAWSUBTRACT" +#define HID_FUNC_WEEKNUM_OOO "SC_HID_FUNC_WEEKNUM_OOO" /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |