When I was in avaition we had the same problem with jet fuel. The simple method we used will not work for Diesel engines but there is a method.
In researching you will find that the problem will happen in any heavy fuel like diesel, jet fuel, or the new bio-diesel that may be stored long term...