change the diarys format