Fix date format bug in entry editor (related to typo).

References #252