Fixes legacy parser for new DateTime class