Hi
to change date format in appointment-calendar-mobile use these given bellow instructions
1. get code from attached url http://pastebin.com/yA0gCTKf
2. go to in your plugin directory >> appointment-calendar-mobile.php and replace all code here
/* these is for admin calendar */
1. go to in your plugin directory
2. select menu-pages folder.
3. open calendar.php file
4. go to line number 207 and add this line
document.addnewappointment.appdate1.value = jQuery.datepicker.formatDate(‘mm-dd-yy’, new Date());
5. go to line number 218 and add these line
var seleteddate1 = jQuery.datepicker.formatDate(‘mm-dd-yy’, new Date(dateAsString));
document.addnewappointment.appdate1.value = seleteddate1;
6. go to line number 381 and replace current input text with these lines
it will work if any issue let me know again
Thanks
Abhishek
Hi Abhishek
It it working fine. i can able to see the changes . thanks a lot.
Thanks
selva
HI abishek
i have another doubt, email also having date format issues.Now its like
YY/MM/DD , i need to change mm/dd/yy format, i have changed in line 54,
$AppointmentDate = date(“Y-m-d”, strtotime($_POST[‘AppDate’])); to
$AppointmentDate = date(“m-d-Y”, strtotime($_POST[‘AppDate’]));
now am getting email correctly , but having the problem admin section manage appoitements list.in manange appoitment list last booking year looks like 0001 after changing the 54th line. can you explain solution?
Here is the link which i getting issues in admin section
https://www.dropbox.com/s/5o6vl6dxh7sdkd0/fix.PNG?dl=0
in appointment-calendar-mobile.php, after changing the 54 line
$AppointmentDate = date(“Y-m-d”, strtotime($_POST[‘AppDate’]));
to
$AppointmentDate = date(“m-d-Y”, strtotime($_POST[‘AppDate’]));
email as well as admin list of appoitnment section also need mm-dd-yy , please provide the solution, it would very helpful.
Thanks
selvamtech