DateTimePicker How to make it display the year view

Source: Internet
Author: User
How does DateTimePicker make it show the year view?
http://www.bootcss.com/p/bootstrap-datetimepicker/
There is a year view, ask the big God to change how to write

------to solve the idea----------------------
$ (". Form_datetime"). DateTimePicker ({format: ' yyyy-mm ', autoclose:true,startview:3,minview:3,todayhighlight:true} );


This is the setting I made based on the parameters he provided, but a little bit of a problem highlighting is not the current month
------to solve the idea----------------------
Looking at the sample code it provides, when Startview is 3 o'clock, even if todayhighlight is true, the current month is not highlighted.
The current month will not be highlighted until you click the todaybtn button. And the rest of the state is fine.

This should be one of his bugs.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.