Skip to content

Commit

Permalink
Allow Date to be set as min and max values
Browse files Browse the repository at this point in the history
Set Date as minDate, maxDate, minTime, maxTime, minDateTime and
maxDateTime value. Previously, only string value in input DateFormat /
TimeFormat / DateTimeFormat could be set as minimum and maximum date.
  • Loading branch information
nehakadam committed Sep 27, 2016
1 parent 22f87a6 commit 75713f4
Show file tree
Hide file tree
Showing 48 changed files with 403 additions and 308 deletions.
2 changes: 1 addition & 1 deletion DateTimePicker.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

"docs": "http://curioussolutions.github.io/DateTimePicker/",

"version": "0.1.33",
"version": "0.1.34",

"licenses": [
{
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"input"
],

"version": "0.1.33",
"version": "0.1.34",

"homepage": "http://curioussolutions.github.io/DateTimePicker/",

Expand Down
9 changes: 7 additions & 2 deletions demo/PeriodRange-Both.htm
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,13 @@
minTime: "09:00",
maxTime: "19:30",

minDateTime: "01-03-2012 08:30",
maxDateTime: "01-03-2016 18:30"
minDateTime: new Date(2016, 2, 1, 8, 30, 0, 0),
maxDateTime: new Date(2016, 2, 1, 18, 30, 0, 0)

// OR

// minDateTime: "01-03-2012 08:30",
// maxDateTime: "01-03-2016 18:30"

});
});
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.33
Version 0.1.34
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.33
Version 0.1.34
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.33
Version 0.1.34
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.33
Version 0.1.34
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.33
Version 0.1.34
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
Loading

0 comments on commit 75713f4

Please sign in to comment.