X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Foutput%2Fdates.ref;h=485229e5c3da339988ebdbbfb7fb70cb512b2a41;hb=681b182b6f003e91a47a098b7e8ac632315f61a6;hp=b47010a740fa329c3231f7358ae2506c79aba1bf;hpb=3b4e666d9e51b1455fc99c1799823f3cbf3954ea;p=gedcom-parse.git diff --git a/t/output/dates.ref b/t/output/dates.ref index b47010a..485229e 100644 --- a/t/output/dates.ref +++ b/t/output/dates.ref @@ -152,8 +152,9 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 38: Unknown calendar type -ERROR: Error on line 38: parse error +WARNING: Warning on line 37: Unknown calendar type +WARNING: Warning on line 37: parse error +WARNING: Warning on line 37: Putting date '@#DFRENCH@ 03 BRUM 4' in 'phrase' member Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 @@ -243,9 +244,59 @@ Contents of the date_value: sdn1: -1 sdn2: -1 phrase: +Rec INDI start, xref is @PERS10@ +== 1 NAME (342) /Annunciation style/ (ctxt is 333, conversion failures: 0) +== 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) +Contents of the date_value: + raw value: 20 MAR 1677/78 + type: 0 + date1: + calendar type: 0 + day: 20 + month: MAR + year: 1677/78 + date type: 1 + sdn1: 2334016 + sdn2: -1 + date2: + calendar type: 4 + day: + month: + year: + date type: 0 + sdn1: -1 + sdn2: -1 + phrase: +Rec INDI start, xref is @PERS11@ +== 1 NAME (342) /Invalid date/ (ctxt is 333, conversion failures: 0) +== 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) +WARNING: Warning on line 57: Error converting date: year 1739, month 2, day 29 +WARNING: Warning on line 57: Putting date '29 FEB 1739' in 'phrase' member +Contents of the date_value: + raw value: 29 FEB 1739 + type: 11 + date1: + calendar type: 0 + day: 29 + month: FEB + year: 1739 + date type: 1 + sdn1: -1 + sdn2: -1 + date2: + calendar type: 4 + day: + month: + year: + date type: 0 + sdn1: -1 + sdn2: -1 + phrase: 29 FEB 1739 WARNING: Warning: Cross-reference @PERS07@ defined on line 38 is never used WARNING: Warning: Cross-reference @PERS02@ defined on line 18 is never used WARNING: Warning: Cross-reference @PERS00@ defined on line 10 is never used +WARNING: Warning: Cross-reference @PERS10@ defined on line 50 is never used +WARNING: Warning: Cross-reference @PERS11@ defined on line 54 is never used WARNING: Warning: Cross-reference @PERS01@ defined on line 14 is never used WARNING: Warning: Cross-reference @PERS04@ defined on line 26 is never used WARNING: Warning: Cross-reference @PERS09@ defined on line 46 is never used @@ -409,8 +460,9 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 38: Unknown calendar type -ERROR: Error on line 38: parse error +WARNING: Warning on line 37: Unknown calendar type +WARNING: Warning on line 37: parse error +WARNING: Warning on line 37: Putting date '@#DFRENCH@ 03 BRUM 4' in 'phrase' member Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 @@ -500,9 +552,59 @@ Contents of the date_value: sdn1: -1 sdn2: -1 phrase: +Rec INDI start, xref is @PERS10@ +== 1 NAME (342) /Annunciation style/ (ctxt is 333, conversion failures: 0) +== 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) +Contents of the date_value: + raw value: 20 MAR 1677/78 + type: 0 + date1: + calendar type: 0 + day: 20 + month: MAR + year: 1677/78 + date type: 1 + sdn1: 2334016 + sdn2: -1 + date2: + calendar type: 4 + day: + month: + year: + date type: 0 + sdn1: -1 + sdn2: -1 + phrase: +Rec INDI start, xref is @PERS11@ +== 1 NAME (342) /Invalid date/ (ctxt is 333, conversion failures: 0) +== 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) +WARNING: Warning on line 57: Error converting date: year 1739, month 2, day 29 +WARNING: Warning on line 57: Putting date '29 FEB 1739' in 'phrase' member +Contents of the date_value: + raw value: 29 FEB 1739 + type: 11 + date1: + calendar type: 0 + day: 29 + month: FEB + year: 1739 + date type: 1 + sdn1: -1 + sdn2: -1 + date2: + calendar type: 4 + day: + month: + year: + date type: 0 + sdn1: -1 + sdn2: -1 + phrase: 29 FEB 1739 WARNING: Warning: Cross-reference @PERS07@ defined on line 38 is never used WARNING: Warning: Cross-reference @PERS02@ defined on line 18 is never used WARNING: Warning: Cross-reference @PERS00@ defined on line 10 is never used +WARNING: Warning: Cross-reference @PERS10@ defined on line 50 is never used +WARNING: Warning: Cross-reference @PERS11@ defined on line 54 is never used WARNING: Warning: Cross-reference @PERS01@ defined on line 14 is never used WARNING: Warning: Cross-reference @PERS04@ defined on line 26 is never used WARNING: Warning: Cross-reference @PERS09@ defined on line 46 is never used