[-] BO : Bug Fixed #PSTEST-822 - You can now set datetime to configure specific price boundaries

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13584 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-02-24 09:13:03 +00:00
parent 33edf44ec0
commit 47be39894f
5 changed files with 1364 additions and 4 deletions
@@ -307,10 +307,23 @@ jQuery(document).ready(Customer.init);
$('#sp_current_ht_price').html(product_prices[$('#id_product_attribute option:selected').val()]);
});
$('.datepicker').datepicker({
$('.datepicker').datetimepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
dateFormat: 'yy-mm-dd',
// Define a custom regional settings in order to use PrestaShop translation tools
currentText: '{l s='Now'}',
closeText: '{l s='Done'}',
ampm: false,
amNames: ['AM', 'A'],
pmNames: ['PM', 'P'],
timeFormat: 'hh:mm tt',
timeSuffix: '',
timeOnlyTitle: '{l s='Choose Time'}',
timeText: '{l s='Time'}',
hourText: '{l s='Hour'}',
minuteText: '{l s='Minute'}',
});
});
</script>