source: git/tests/cmd_datebad2.out

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
RevLine 
[1d74718]1./cmd_datebad2.svx:4:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]2 *date 1899.12.31
[1d74718]3       ^~~~
4./cmd_datebad2.svx:5:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]5 *date 1899.12.31
[1d74718]6       ^~~~
7./cmd_datebad2.svx:6:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]8 *date 1899.12
[1d74718]9       ^~~~
10./cmd_datebad2.svx:7:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]11 *date 1899
[1d74718]12       ^~~~
13./cmd_datebad2.svx:8:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]14 *date 1800
[1d74718]15       ^~~~
16./cmd_datebad2.svx:9:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]17 *date 1700.12.01
[1d74718]18       ^~~~
19./cmd_datebad2.svx:10:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]20 *date 100.01.01
[1d74718]21       ^~~
22./cmd_datebad2.svx:11:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]23 *date 1899.02.03
[1d74718]24       ^~~~
25./cmd_datebad2.svx:12:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]26 *date 999.9.9
[1d74718]27       ^~~
28./cmd_datebad2.svx:13:12: warning: Invalid month
[415a4c5]29 *date 1984.13.01
[1d74718]30            ^~
31./cmd_datebad2.svx:14:12: warning: Invalid month
[415a4c5]32 *date 1984.13.31
[1d74718]33            ^~
34./cmd_datebad2.svx:15:15: warning: Invalid day of the month
[415a4c5]35 *date 1984.01.00
[1d74718]36               ^~
37./cmd_datebad2.svx:16:12: warning: Invalid month
[415a4c5]38 *date 1984.00.12
[1d74718]39            ^~
40./cmd_datebad2.svx:17:12: warning: Invalid month
[415a4c5]41 *date 1984.00
[1d74718]42            ^~
43./cmd_datebad2.svx:18:12: warning: Invalid month
[415a4c5]44 *date 1984.13
[1d74718]45            ^~
46./cmd_datebad2.svx:19:7: error: End of date range is before the start
[9f55538]47 *date 1984.01.02-1984.01.01
[1d74718]48       ^~~~~~~~~~~~~~~~~~~~~
[734f5f4]49./cmd_datebad2.svx:20:7: warning: Assuming 2 digit year is 1971
50 *date 71-1970
51       ^~
[1d74718]52./cmd_datebad2.svx:20:7: error: End of date range is before the start
[9f55538]53 *date 71-1970
[1d74718]54       ^~~~~~~
55./cmd_datebad2.svx:21:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]56 *date 2079.01.01
[1d74718]57       ^~~~
58./cmd_datebad2.svx:22:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]59 *date 2079.12.31
[1d74718]60       ^~~~
61./cmd_datebad2.svx:23:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]62 *date 2099.06
[1d74718]63       ^~~~
64./cmd_datebad2.svx:24:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]65 *date 3033
[1d74718]66       ^~~~
67./cmd_datebad2.svx:25:7: warning: Invalid year (< 1900 or > 2078)
[415a4c5]68 *date 11974.02.03
[1d74718]69       ^~~~~
[ce8f81c]70
71Removing trailing traverses...
72
[c20d521]73Concatenating traverses...
[ce8f81c]74
75Simplifying network...
76
77Calculating network...
78
[c20d521]79Calculating traverses...
[ce8f81c]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.
[734f5f4]94There were 21 warning(s) and 2 error(s) - no output files produced.
Note: See TracBrowser for help on using the repository browser.