Fixed a bug when displaying message hour