remove reference to localtime