Skip to content

Commit

Permalink
Handle about1883
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 20, 2024
1 parent 3f471ce commit eafcad6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -13378,6 +13378,13 @@ sub parse_date
if($date =~ /^(\d+)\-00\-00$/) {
$date = $1
}
} elsif($date =~ /^about(\d.+)/) {
# about1883
$date = $1;
$about = 1;
if($date =~ /^(\d+)\-00\-00$/) {
$date = $1
}
}

if($date =~ /[A-Z]{4,}/i) {
Expand Down
2 changes: 1 addition & 1 deletion tests/test-all-static
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -ex

unset GMAP_KEY
for i in ~/gedcoms/*.GED ~/gedcoms/*.ged; do
for i in ~/gedcoms/*.ged ~/gedcoms/*.GED; do
rm -rf dynamic-site/data dynamic-site/img static-site/
perl -MDevel::Hide=Geo::libpostal \
./ged2site -cFd "$i"
Expand Down

0 comments on commit eafcad6

Please sign in to comment.