Use LocalDateTime for date header formatting

There were issues, where time entry would show up on wrong date,
and the wrong date seemed to be missing correct time zone.