Fix bug with wrong display of month in logger time