Fix bug with dates displaying in notepadView