Issue #2081163 by smiro, areke: Remove unused local variables from the datetime module.