Bug 1046213: datetime_from() generates wrong dates if year < 1901
r=sgreen a=glob