Hello All,
I have added a filter in search page maker for a datetime field.
I throws a datetime type error from SPM but work fine if I manually put it in.
Thoughts?
Thanks!!
Date Range Not Working
Re: Date Range Not Working
Disregard.
If any one else ever has this issue, I went into the filer.php in the hooks folder and changed the format od the date to match my program.
Jim
If any one else ever has this issue, I went into the filer.php in the hooks folder and changed the format od the date to match my program.
Code: Select all
<script>
$j(function(){
//date
$j("#from-date_2 , #to-date_2 ").datetimepicker({
format: 'MM/DD/YYYY' //config
});
$j("#from-date_2" ).on('dp.change' , function(e){
date = moment(e.date).add(1, 'month');
$j("#to-date_2 ").val(date.format('MM/DD/YYYY')).data("DateTimePicker").minDate(e.date);
});
});
</script>