fixes log dates