diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-03 23:47:19 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-03 23:47:19 +0300 | 
| commit | f7cc8e4c8c70bd6a48b9c3a8e99bef13ebca7d89 (patch) | |
| tree | 73ae6edccd66cb50f68d10933d8f559dd614018f /indra/newview | |
| parent | 5404708de0cce19cb4b35fae10d78c447932e4ba (diff) | |
SL-18047 Birthdate one day early
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llpanelprofile.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/panel_profile_secondlife.xml | 6 | 
2 files changed, 7 insertions, 1 deletions
| diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index f4eaa78f11..d3898afcbd 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1280,6 +1280,8 @@ void LLPanelProfileSecondLife::fillRightsData()  void LLPanelProfileSecondLife::fillAgeData(const LLDate &born_on)  { +    // Date from server comes already converted to stl timezone, +    // so display it as an UTC + 0      std::string name_and_date = getString("date_format");      LLSD args_name;      args_name["datetime"] = (S32)born_on.secondsSinceEpoch(); diff --git a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml index 551b477876..777b37d666 100644 --- a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml +++ b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml @@ -9,9 +9,13 @@   follows="all"   layout="topleft"  > +  <!-- +  Date from server comes already converted to stl timezone, +  so display it as an UTC+0 +  -->     <string       name="date_format" -    value="SL birthdate: [mth,datetime,slt] [day,datetime,slt], [year,datetime,slt]" /> +    value="SL birthdate: [mth,datetime,utc] [day,datetime,utc], [year,datetime,utc]" />     <string      name="age_format"      value="[AGE]" /> | 
