Eonasdan/bootstrap-datetimepicker — pull request #255 by bagal (2014-03-24 22:08:24+00:00)
Title: #228 - Fix issue with setValue not taking into account the format

When you call setValue, it checks to see if the date passed in is a Moment date, if not it constructs a new Moment date, however it does not take into account the picker format, for example if I set the format to 'DD/MM/YYYY' and then call setValue with the parameter '03/02/2014', which in the UK should be the 3rd February 2014, it gets interpreted as 2nd March 2014 instead.