fix handling of quoted parts in date patterns
closes #438