geni / geni-gedcom

A GEDCOM to Geni importer using the Geni API (geni-clj-sdk).
Eclipse Public License 1.0
7 stars 3 forks source link

Modify GEDCOM importer to support before/after/between dates for event dates #7

Open stangel opened 12 years ago

stangel commented 12 years ago

Depends on https://github.com/geni/geni/issues/463 -- @ss can provide the API format once it's done.

stangel commented 12 years ago

/assign @Raynes

scott-steadman commented 11 years ago

https://github.com/geni/geni/issues/463 is done. The API already supported it. I just added tests to make sure.

date hashes are now like this:

{
  'year' => nnnn, 'month' => nn, 'day' => nn,
  'range' => 'before|after|between',
  'end_year' => nnnn, 'end_month' => nn, 'end_day' => nn
}

end_year|month|day are only needed if range is 'between'