DateTimePicker के लिए विकल्प यह संभव नहीं है के अनुसार नहीं है। यह केवल निम्नलिखित गुण का समर्थन करता है:
$.fn.datetimepicker.defaults = {
pickDate: true, //en/disables the date picker
pickTime: true, //en/disables the time picker
useMinutes: true, //en/disables the minutes picker
useSeconds: true, //en/disables the seconds picker
useCurrent: true, //when true, picker will set the value to the current date/time
minuteStepping:1, //set the minute stepping
minDate:`1/1/1900`, //set a minimum date
maxDate: , //set a maximum date (defaults to today +100 years)
showToday: true, //shows the today indicator
language:'en', //sets language locale
defaultDate:"", //sets a default date, accepts js dates, strings and moment objects
disabledDates:[], //an array of dates that cannot be selected
enabledDates:[], //an array of dates that can be selected
icons = {
time: 'glyphicon glyphicon-time',
date: 'glyphicon glyphicon-calendar',
up: 'glyphicon glyphicon-chevron-up',
down: 'glyphicon glyphicon-chevron-down'
}
useStrict: false, //use "strict" when validating dates
sideBySide: false, //show the date and time picker side by side
daysOfWeekDisabled:[] //for example use daysOfWeekDisabled: [0,6] to disable weekends
};
Source: http://eonasdan.github.io/bootstrap-datetimepicker/#options
आप सप्ताह के अंत को निष्क्रिय करता है, तो आप रविवार को देखने के लिए नहीं करना चाहते हैं कर सकते हैं।
पर कॉल करते समय लोकेल के माध्यम से डॉव वैल्यू को ओवरराइड भी कर सकते हैं लेकिन अभी भी बाएँ स्तंभ रविवार है, और लोगों को सोमवार – HerGiz
उम्मीद बूटस्ट्रैप-datapicker.js में मैं नाम offseted है, लेकिन केवल नाम mooved जाते हैं, न दिनांकों ही है, इसलिए पूरे कैलेंडर सही नहीं है। Eaven treid moment.js में बदल रहा है, लेकिन एक ही बात है। – HerGiz
कोई प्रतिस्थापन परेशानी? – HerGiz