Modification temps et correction tests

This reverts commit 038a5a4a975e20c2145983a7d7829118fc304029.