I've had a lot of strange behaviour when setting language:'de' like getting invalid dates when setting the start date via .data('dateRangePicker').setDateRange(startDate, endDate); when startDate = "02. Oktober 2016";
After lots of console.log debugging I finally solved all my problems by explicitly setting moment.locale(opt.language); around line 770.
This is probably just a monkey patch but maybe helps some lost souls.
I've had a lot of strange behaviour when setting
language:'de'
like getting invalid dates when setting the start date via.data('dateRangePicker').setDateRange(startDate, endDate);
whenstartDate = "02. Oktober 2016";
After lots of console.log debugging I finally solved all my problems by explicitly setting
moment.locale(opt.language);
around line 770.This is probably just a monkey patch but maybe helps some lost souls.