Make date parser recognize infinity