Fixed local storage time bug.