Skip to content
Snippets Groups Projects
Commit 7203fb2e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix legacy profile missing string issue

parent 1442669e
No related branches found
No related tags found
No related merge requests found
...@@ -461,7 +461,7 @@ void LLPanelProfileLegacy::processProperties(void* data, EAvatarProcessorType ty ...@@ -461,7 +461,7 @@ void LLPanelProfileLegacy::processProperties(void* data, EAvatarProcessorType ty
getChild<LLLineEditor>("www_edit")->setText(pData->profile_url); getChild<LLLineEditor>("www_edit")->setText(pData->profile_url);
LLStringUtil::format_map_t args; LLStringUtil::format_map_t args;
std::string birth_date = LLTrans::getString("AvatarBirthDateFormat"); std::string birth_date = LLTrans::getString("AvatarBirthDateFormatFull");
LLStringUtil::format(birth_date, LLSD().with("datetime", static_cast<S32>(pData->born_on.secondsSinceEpoch()))); LLStringUtil::format(birth_date, LLSD().with("datetime", static_cast<S32>(pData->born_on.secondsSinceEpoch())));
args["[AGE]"] = LLDateUtil::ageFromDate(pData->born_on, LLDate::now()); args["[AGE]"] = LLDateUtil::ageFromDate(pData->born_on, LLDate::now());
args["[REZDAY]"] = birth_date; args["[REZDAY]"] = birth_date;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment