Fix date formats without divider

Formats like `yyyy` are splitted in `formatParts = [ 'y', 'y', 'y', 'y' ]` because `divider` is an empty string.
It has to be processed with a null divider.