Split date format matching into full and partial, with priority to full
matches.