bootstrap-datetimepicker 十年视图、年月视图 附源码


"zh">
    
        "utf-8">

        "css/bootstrap.min.css" rel="stylesheet" media="screen">
        "css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
       
        
        
        
        
                            
    

       
        
"" class="form-horizontal" role="form">
"text-align: center;">YYYY
class="form-group">
class="input-group date form_year col-md-5" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1"> class="form-control" size="16" type="text" value="2019" id="datetime" readonly> class="input-group-addon">class="glyphicon glyphicon-remove"> class="input-group-addon">class="glyphicon glyphicon-th">
"hidden" id="dtp_input1" value="" />
"" class="form-horizontal" role="form">
"text-align: center;">YYYY-MM
class="form-group">
class="input-group date form_datetime col-md-5" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1"> class="form-control" size="16" type="text" value="" id="datetime" readonly> class="input-group-addon">class="glyphicon glyphicon-remove"> class="input-group-addon">class="glyphicon glyphicon-th">
"hidden" id="dtp_input1" value="" />

效果图:

bootstrap-datetimepicker 十年视图、年月视图 附源码_第1张图片bootstrap-datetimepicker 十年视图、年月视图 附源码_第2张图片

 

源码地址:https://gitee.com/yangliyuan96/bootstrapdatetimepicker.git

一定要引入:

bootstrap-datetimepicker 十年视图、年月视图 附源码_第3张图片

 

转载于:https://www.cnblogs.com/yangliyuan/p/10972624.html

你可能感兴趣的:(javascript,git)