source: git/tests/cmd_datebad2.svx @ 00d94ee

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 00d94ee was e0c7cd1, checked in by Olly Betts <olly@…>, 19 years ago

cavern: Add validity checking for dates in *date commands with feature
test. A date entered as just "year" or "year.month" now becomes a date
range for the relevant period (previously it became a single date near
the middle of that period).

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3084 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 367 bytes
Line 
1; invalid dates:
2*begin
3*date 69.12.31
4*date 1969.12.31
5*date 1969.12
6*date 1969
7*date 00
8*date 00.12.01
9*date 100.01.01
10*date 1899.02.03
11*date 999.9.9
12*date 1984.13.01
13*date 1984.13.31
14*date 1984.00.12
15*date 1984.00
16*date 1984.13
17*date 1984.01.02-1984.01.01
18*date 71-1970
19*date 2038.12.31
20*date 2039.06
21*date 2039
22*date 11974.02.03
23*fix 1 0 0 0
241 2 1.0 020 -03
25*end
Note: See TracBrowser for help on using the repository browser.