Strip timezone information before comparison.