new version 2.2.5

Fix bug with click to 31 mart and 1 april
This commit is contained in:
Valeriy Chupurnov 2014-04-06 19:21:35 +06:00
parent 3c6b8d098e
commit c5da6cd4d2
4 changed files with 159 additions and 150 deletions

View File

@ -1,6 +1,6 @@
{ {
"name":"datetimepicker", "name":"datetimepicker",
"version":"2.2.4", "version":"2.2.5",
"main": [ "main": [
"jquery.datetimepicker.js", "jquery.datetimepicker.js",
"jquery.datetimepicker.css" "jquery.datetimepicker.css"

View File

@ -1,6 +1,6 @@
{ {
"name": "datetimepicker", "name": "datetimepicker",
"version": "2.2.4", "version": "2.2.5",
"title": "jQuery Date and Time picker", "title": "jQuery Date and Time picker",
"description": "jQuery plugin for date, time, or datetime manipulation in form", "description": "jQuery plugin for date, time, or datetime manipulation in form",
"keywords": [ "keywords": [

View File

@ -29,39 +29,26 @@
<input type="text" id="datetimepicker8"/> <input type="text" id="datetimepicker8"/>
<h3>disable all weekend</h3> <h3>disable all weekend</h3>
<input type="text" id="datetimepicker9"/> <input type="text" id="datetimepicker9"/>
<h3>Date Time Picker start time</h3>
<input type="text" id="datetimepicker_start_time"/>
<h3>Date Time Picker from unixtime</h3>
<input type="text" id="datetimepicker_unixtime"/>
<h3>Show inline</h3> <h3>Show inline</h3>
<a href="javascript:var si = document.getElementById('show_inline').style; si.display = (si.display=='none')?'block':'none';return false; ">Show/Hide</a> <a href="javascript:var si = document.getElementById('show_inline').style; si.display = (si.display=='none')?'block':'none';return false; ">Show/Hide</a>
<div id="show_inline" style="display:none"> <div id="show_inline" style="display:none">
<input type="text" id="datetimepicker10"/> <input type="text" id="datetimepicker10"/>
</div> </div>
<h3>Date Time Picker start time</h3>
<input type="text" id="datetimepicker_start_time"/>
<h3>Date Time Picker from unixtime</h3>
<input type="text" id="datetimepicker_unixtime"/>
</body> </body>
<script src="./jquery.js"></script> <script type="text/javascript" src="./jquery.js"></script>
<script src="./jquery.datetimepicker.js"></script> <script type="text/javascript" src="./jquery.datetimepicker.js"></script>
<script> <script type="text/javascript">
$('#datetimepicker').datetimepicker()
$('#datetimepicker10').datetimepicker({ .datetimepicker({value:'2015/04/15 05:03',step:10});
step:5,
inline:true
});
$('#datetimepicker_mask').datetimepicker({ $('#datetimepicker_mask').datetimepicker({
mask:'9999/19/39 29:59' mask:'9999/19/39 29:59'
}); });
$('#datetimepicker_start_time').datetimepicker({
startDate:'+1970/05/01'
});
$('#datetimepicker_unixtime').datetimepicker({
format:'unixtime'
});
$('#datetimepicker').datetimepicker();
$('#datetimepicker').datetimepicker({value:'2015/04/15 05:03',step:10});
$('#datetimepicker1').datetimepicker({ $('#datetimepicker1').datetimepicker({
datepicker:false, datepicker:false,
format:'H:i', format:'H:i',
@ -136,5 +123,18 @@ $('#datetimepicker9').datetimepicker({
weekends:['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], weekends:['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'],
timepicker:false timepicker:false
}); });
$('#datetimepicker10').datetimepicker({
step:5,
inline:true
});
$('#datetimepicker_start_time').datetimepicker({
startDate:'+1970/05/01'
});
$('#datetimepicker_unixtime').datetimepicker({
format:'unixtime'
});
</script> </script>
</html> </html>

File diff suppressed because one or more lines are too long