$localStorage.doctorDateTime.push({
fullDate : new Date(doctorDateTime)
});
I passed date string in new Date and then save it to local storage but when i retrieve it from local storage it showing me this format:
2015-01-01T13:41:18.300Z
while if console.log(doctorDateTime). it is showing right date string