Skip to content
Snippets Groups Projects
Unverified Commit 0dcc5ce2 authored by Rye Mutt's avatar Rye Mutt :bread: Committed by GitHub
Browse files

Merge pull request #24 from AlchemyViewer/RyeMutt/swap-heretic-profile

Change Heretic to use new profiles
parents ed975311 7203fb2e
No related branches found
No related tags found
No related merge requests found
......@@ -461,7 +461,7 @@ void LLPanelProfileLegacy::processProperties(void* data, EAvatarProcessorType ty
getChild<LLLineEditor>("www_edit")->setText(pData->profile_url);
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())));
args["[AGE]"] = LLDateUtil::ageFromDate(pData->born_on, LLDate::now());
args["[REZDAY]"] = birth_date;
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<llsd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="llsd.xsd">
<map>
......@@ -13,7 +13,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<boolean>1</boolean>
<boolean>0</boolean>
</map>
<key>LegacyNotificationWell</key>
<map>
......
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