try to parse date using new Date() first, then fall back to regular handlers