Setting locale doesn't work
metz0r opened this issue · 4 comments
metz0r commented
Seems like bootstrap-daterangepicker sets it at initialization? Maybe the issue is on their side, it doesn't seem to update the locale when using setOptions.
wedgex commented
It looks like the value is being set correctly in $('#daterange').data('daterangepicker').locale
but it's not updating the labels. I'll have to dig in and see if there's something special that needs to be done to re-render the labels.
metz0r commented
Did you find out what was wrong here? or should I take a look?
wedgex commented
No I haven't had much luck digging into it. Go for it.
metz0r commented
As I suspected this is an issue on bootstrap-daterangepicker's end, I'll keep my eyes on this issue:
https://github.com/dangrossman/bootstrap-daterangepicker/issues/602