in the admin/scripts/coupons_insert.js file
change:
$(function(){
$('#CouponStartDate').datepicker({
changeMonth: true,
changeYear: true,
onClose: closeDatePicker_CouponStartDate
});
});
to:
$(function(){
$('#CouponStartDate').datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
onClose: closeDatePicker_CouponStartDate
});
});
and change:
$(function(){
$('#CouponEndDate').datepicker({
changeMonth: true,
changeYear: true,
onClose: closeDatePicker_CouponEndDate
});
});
to:
$(function(){
$('#CouponEndDate').datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
onClose: closeDatePicker_CouponEndDate
});
});
on the coupon_insert.php page you will also need to change:
var CouponStartDate_Spry = new Spry.Widget.ValidationTextField("CouponStartDate_Spry", "date", {format:"mm/dd/yyyy", validateOn:["blur"]});
var CouponEndDate_Spry = new Spry.Widget.ValidationTextField("CouponEndDate_Spry", "date", { format:'mm/dd/yyyy' , validateOn:["blur"]});
to:
var CouponStartDate_Spry = new Spry.Widget.ValidationTextField("CouponStartDate_Spry", "date", {format:"dd/mm/yyyy", validateOn:["blur"]});
var CouponEndDate_Spry = new Spry.Widget.ValidationTextField("CouponEndDate_Spry", "date", { format:'dd/mm/yyyy' , validateOn:["blur"]});