[analysis] Fix dates issue in the onion model
[analysis] Fix dates issue in onion transitions study
[analysis] Fix dates issue when calculating threads