summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofile.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-03 21:24:09 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-04 22:27:04 +0300
commit4f92a3222efac36b2355550ed55ca0a2fcb9591d (patch)
tree965a4cc6218236c22a3407c69282702487087d07 /indra/newview/llpanelprofile.cpp
parent3f5164446653f89ef559a883612401fea886b138 (diff)
SL-15312 Updated picks's layout
- better emphasis onto saving - better resize logic - ability to discard changes
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r--indra/newview/llpanelprofile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index cb10dd75fb..17c557e4f9 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -1246,11 +1246,11 @@ void LLPanelProfileSecondLife::fillNameAgeData(const LLAvatarName &av_name, cons
args_name["[NAME]"] = av_name.getAccountName();
LLStringUtil::format(name_and_date, args_name);
getChild<LLUICtrl>("user_name_date")->setValue(name_and_date);
-
+
std::string register_date = getString("age_format");
- LLSD args_age;
+ LLSD args_age;
args_age["[AGE]"] = LLDateUtil::ageFromDate(born_on, LLDate::now());
- LLStringUtil::format(register_date, args_age);
+ LLStringUtil::format(register_date, args_age);
getChild<LLUICtrl>("user_age")->setValue(register_date);
}