startOfWeek now periodSeparators and accepts an array of objects