correctly prints same dates