Fixed bug in displaying date on record view.