From 5d97d019198ef0319b2471de617930685155f118 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 31 Oct 2018 11:31:08 +0530 Subject: updated increased year range --- workshop_registration.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workshop_registration.inc b/workshop_registration.inc index 81fa0c8..5a44c58 100644 --- a/workshop_registration.inc +++ b/workshop_registration.inc @@ -336,7 +336,7 @@ function osdag_workshop_booking_form($form, &$form_state) '#default_value' => '', '#date_format' => 'd-m-Y', '#date_increment' => 0, - '#date_year_range' => $cur_year.':+0', + '#date_year_range' => $cur_year.':+5', '#datepicker_options' => array( 'minDate' => 15, 'dateFormat' => date_popup_format_to_popup('d-m-Y'), @@ -351,7 +351,7 @@ function osdag_workshop_booking_form($form, &$form_state) '#default_value' => '', '#date_format' => 'd-m-Y', '#date_increment' => 1, - '#date_year_range' => $cur_year.':+0', + '#date_year_range' => $cur_year.':+5', '#datepicker_options' => array( 'dateFormat' => date_popup_format_to_popup('d-m-Y'), ), -- cgit