Electronic logs

The first time I crossed in a situation where I knew I had used all but 10 minutes of Canadian HOS I got to the border and logged off duty before it changed just to stop me going into an infringement situation, it was less than half a mile to the nasty truck stop at Champlain NY, I had no idea about the extra time being allowed until a later trip.