fixed datetime issue and also localstorage is now cleared on order delete