Fixed a bug that date is not displayed when the name is long.