时间插件改为英文

This commit is contained in:
huang 2016-11-11 16:45:43 +08:00
parent e544b04f6f
commit f41a36557a
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<script type="text/javascript" src="/javascripts/i18n/jquery.ui.datepicker-en.js"></script>
<script type="text/javascript" src="/javascripts/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<!--里程碑列表开始-->
<div class="new_roadmap_conbox mb10" >
<div class="new_roadmap_navbox clear">

View File

@ -2,5 +2,6 @@ var htmlvalue = "<%= escape_javascript(render :partial => 'versions/new_mileston
pop_box_new(htmlvalue,820,316);
var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: 0, showOn: 'button', buttonImageOnly: true, buttonImage: '/images/public_icon.png', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};
$(function() { $('#version_index_create_name').datepicker(datepickerOptions);
// $('#evaluation_end_time').datepicker(datepickerOptions);
});
$('#version_index_create_name').datepicker(datepickerOptions);
});

View File

@ -1,3 +1,4 @@
<script type="text/javascript" src="/javascripts/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<!--里程碑详情开始-->
<div class="new_roadmap_conbox mb10">
<div class="new_roadmap_info_top clear ">