Re: Re-writing Genealogy::Gedcom::Date

[email protected] (Michael Ionescu) Wed, 04 Nov 2015 13:29:13 +0100
Newsgroups perl.gedcom
Message-ID <[email protected]>
Hi all,

sorry about the confusion I caused by keeping the _r_ in some of the names=
 without realizing its meaning=2E

There is no German Republican calendar and I did not intend to give German=
 translations for the month names of the French Republican calendar=2E I si=
mply meant to aid with the German syntax and month names for the Gregorian =
calendar typically used in the western world today=2E

The Month names for this calendar may differ from the ones I gave, for var=
iations or dialects of the German language such as Swiss German or Austrian=
 German or even Bavarian or Alsatian=2E Heck, even the syntax might=2E

Given this, it might be a good idea to revise your naming scheme=2E I woul=
d suggest using one element for the language and one for the location of la=
nguage use (as are used in a typical unix locale name) and an additional el=
ement for the calendar=2E
Ron's example might thus be named fr_FR_rv and mine de_DE_gr or some such=
=2E

Ron, it might be helpful if you explained whether you are just aiming for =
syntax checking or whether you intend to parse these dates and possibly con=
vert them or do other calculations on them=2E For the former the concept of=
 different calendars is relatively negligible, however for the latter it is=
 a must=2E

Michael