dangrossman/bootstrap-daterangepicker — pull request #166 by agend07 (2013-10-03 08:31:18+00:00)
Title: Update daterangepicker.js

fix for messing time in custom predefined ranges

I've had such a case:

I had predefined ranges for last 12 or 24 hours. And it was working fine, but then when I clicked custom range, and changed the hour for one side it has changed my predefined range and it wasn't last 12 hours anymore. cloning the date fixed it for me