dateFormat function add to smart.date.js & related test case added