From 4435f5d0fabac87444e455682fd19fe6695499be Mon Sep 17 00:00:00 2001 From: Akshen Date: Wed, 7 Feb 2018 12:44:42 +0530 Subject: Update Date Validator on DateChange Feature for instructor - Can prepone and postpone dates of workshop - js calender updated --- workshop_app/templates/workshop_app/my_workshops.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'workshop_app/templates') diff --git a/workshop_app/templates/workshop_app/my_workshops.html b/workshop_app/templates/workshop_app/my_workshops.html index 05ddd57..3fc8e43 100644 --- a/workshop_app/templates/workshop_app/my_workshops.html +++ b/workshop_app/templates/workshop_app/my_workshops.html @@ -59,7 +59,7 @@ $('.pDate').datepicker({ changeMonth: true, changeYear: true, - minDate: previous_date, + minDate: dateToday, maxDate: upto, dateFormat:"yy-mm-dd", }); @@ -71,7 +71,7 @@ $('.rDate').datepicker({ changeMonth: true, changeYear: true, - minDate: previous_date, + minDate: dateToday, maxDate: upto, dateFormat:"yy-mm-dd", }); -- cgit