Fix enrich_date to handle dates < 1900 (#7562)
Added test for pre-1900 dates in enrich_date (#7562)