source: git/tests/cmd_datebad2.svx

walls-data-hanging-as-warning
Last change on this file was 734f5f4, checked in by Olly Betts <olly@…>, 6 years ago

Warn about 2 digit years being assumed to be 19xx

We can't change the assumption without risking breaking existing
datasets, but the further we get into this century, the more likely such
an assumption is to catch someone out. The warning can easily be
quashed by explicitly adding the assumed "19".

  • Property mode set to 100644
File size: 434 bytes
Line 
1; pos=fail warn=21 error=2
2; invalid dates:
3*begin
4*date 1899.12.31
5*date 1899.12.31
6*date 1899.12
7*date 1899
8*date 1800
9*date 1700.12.01
10*date 100.01.01
11*date 1899.02.03
12*date 999.9.9
13*date 1984.13.01
14*date 1984.13.31
15*date 1984.01.00
16*date 1984.00.12
17*date 1984.00
18*date 1984.13
19*date 1984.01.02-1984.01.01
20*date 71-1970
21*date 2079.01.01
22*date 2079.12.31
23*date 2099.06
24*date 3033
25*date 11974.02.03
26*fix 1 0 0 0
271 2 1.0 020 -03
28*end
Note: See TracBrowser for help on using the repository browser.