fixed end_life setter bug when saving end_life.time as unixtimes