Changed the datepicker functionality in the add/edit promo code

Signed-off-by: Anurag <anurag.pattnaik@andolasoft.com>