trimming extra zeros from cache key timestamps