Skip to content

Commit

Permalink
Remove "Changing date 1616-05-05 to 05 May 1616" when -w not given
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 6, 2024
1 parent 82c4ef7 commit 3beaacd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -11929,6 +11929,7 @@ sub date_to_datetime
if(my $date = $params{'date'}) {
# if($date !~ /^(bef|abt|aft).?\s/i) {
if(($date !~ /^(bef|abt|aft)/i) && ($date !~ /\sor\s/)) {
$params{'quiet'} = 1 if(!$opts{'w'});
return $dfg->parse_datetime(%params);
}
}
Expand Down

0 comments on commit 3beaacd

Please sign in to comment.