In Angular js the bs-datepicker date format will be changed by adding below filter into your js file.
angular.module('test') .config(function($datepickerProvider) { angular.extend($datepickerProvider.defaults, { dateFormat: 'MM-dd-yyyy', startWeek: 1 }); });
You might also like:
Convert and download html to pdf without saving file28-10-2018 node js convert html to pdf pdf download pdf without saving |
Use java script file client side and server side at a time in node js30-07-2017 node js include call javascript |
How to make an http request in node js14-03-2017 http module node js |
How to change background color and color to the text using javascript27-02-2017 css javascript colors |
Get random strings from given string In javascript21-02-2017 javascript random string |