I remember when was in the Navy nothing happened exactly at midnight. You either used 2359 or 0001 to avoid any confusion about what day the event happened on. I know that means two minutes go missing each night but it never seemed an issue. I suspect the logbook program is working the same way.