calendar formatting correctly