Fixes timestamp days ago calculation