source: git/tests/cmd_datebad2.out

walls-data
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: 2.7 KB
Line 
1./cmd_datebad2.svx:4:7: warning: Invalid year (< 1900 or > 2078)
2 *date 1899.12.31
3       ^~~~
4./cmd_datebad2.svx:5:7: warning: Invalid year (< 1900 or > 2078)
5 *date 1899.12.31
6       ^~~~
7./cmd_datebad2.svx:6:7: warning: Invalid year (< 1900 or > 2078)
8 *date 1899.12
9       ^~~~
10./cmd_datebad2.svx:7:7: warning: Invalid year (< 1900 or > 2078)
11 *date 1899
12       ^~~~
13./cmd_datebad2.svx:8:7: warning: Invalid year (< 1900 or > 2078)
14 *date 1800
15       ^~~~
16./cmd_datebad2.svx:9:7: warning: Invalid year (< 1900 or > 2078)
17 *date 1700.12.01
18       ^~~~
19./cmd_datebad2.svx:10:7: warning: Invalid year (< 1900 or > 2078)
20 *date 100.01.01
21       ^~~
22./cmd_datebad2.svx:11:7: warning: Invalid year (< 1900 or > 2078)
23 *date 1899.02.03
24       ^~~~
25./cmd_datebad2.svx:12:7: warning: Invalid year (< 1900 or > 2078)
26 *date 999.9.9
27       ^~~
28./cmd_datebad2.svx:13:12: warning: Invalid month
29 *date 1984.13.01
30            ^~
31./cmd_datebad2.svx:14:12: warning: Invalid month
32 *date 1984.13.31
33            ^~
34./cmd_datebad2.svx:15:15: warning: Invalid day of the month
35 *date 1984.01.00
36               ^~
37./cmd_datebad2.svx:16:12: warning: Invalid month
38 *date 1984.00.12
39            ^~
40./cmd_datebad2.svx:17:12: warning: Invalid month
41 *date 1984.00
42            ^~
43./cmd_datebad2.svx:18:12: warning: Invalid month
44 *date 1984.13
45            ^~
46./cmd_datebad2.svx:19:7: error: End of date range is before the start
47 *date 1984.01.02-1984.01.01
48       ^~~~~~~~~~~~~~~~~~~~~
49./cmd_datebad2.svx:20:7: warning: Assuming 2 digit year is 1971
50 *date 71-1970
51       ^~
52./cmd_datebad2.svx:20:7: error: End of date range is before the start
53 *date 71-1970
54       ^~~~~~~
55./cmd_datebad2.svx:21:7: warning: Invalid year (< 1900 or > 2078)
56 *date 2079.01.01
57       ^~~~
58./cmd_datebad2.svx:22:7: warning: Invalid year (< 1900 or > 2078)
59 *date 2079.12.31
60       ^~~~
61./cmd_datebad2.svx:23:7: warning: Invalid year (< 1900 or > 2078)
62 *date 2099.06
63       ^~~~
64./cmd_datebad2.svx:24:7: warning: Invalid year (< 1900 or > 2078)
65 *date 3033
66       ^~~~
67./cmd_datebad2.svx:25:7: warning: Invalid year (< 1900 or > 2078)
68 *date 11974.02.03
69       ^~~~~
70
71Removing trailing traverses...
72
73Concatenating traverses...
74
75Simplifying network...
76
77Calculating network...
78
79Calculating traverses...
80
81Calculating trailing traverses...
82
83Calculating statistics...
84
85Survey contains 2 survey stations, joined by 1 leg.
86There are 0 loops.
87Total length of survey legs =    1.00m (   1.00m adjusted)
88Total plan length of survey legs =    1.00m
89Total vertical length of survey legs =    0.05m
90Vertical range = 0.05m (from 1 at 0.00m to 2 at -0.05m)
91North-South range = 0.94m (from 2 at 0.94m to 1 at 0.00m)
92East-West range = 0.34m (from 2 at 0.34m to 1 at 0.00m)
93   2 1-nodes.
94There were 21 warning(s) and 2 error(s) - no output files produced.
Note: See TracBrowser for help on using the repository browser.