Add _formatDate method, use it to fix bug when leveraging datepicker smarts.