Fixed the date display (closes #41)