Skip to content

Instantly share code, notes, and snippets.

@vordan
Created December 9, 2015 15:53
Show Gist options
  • Save vordan/44e4ff1c744fcd5b9726 to your computer and use it in GitHub Desktop.
Save vordan/44e4ff1c744fcd5b9726 to your computer and use it in GitHub Desktop.
Bootstrap Date Picker
$('#user_edit_date_of_registration').datepicker('setValue', _row_model.value);
var _value = formatDateISO(nz($('#user_edit_date_of_registration').data('date')));
<div id="user_edit_date_of_registration" class="input-append date" data-index="" data-date="" data-date-format="dd-mm-yyyy" data-date-viewmode="months">
<input type="text" class="input-small">
<span class="add-on"><i class="fa fa-calendar"></i></span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment