jquery/jquery-ui — pull request #632 by lucianouses (2012-04-12 12:28:15+00:00)
Title: In formatDate should have a default dateFormat if not informed. 

Like this
$.datepicker.formatDate(null, new Date());
instead of
$.datepicker.formatDate($.datepicker._defaults.dateFormat, new Date());