Fix julian date formula for dates before 1900-03-01.