diff options
author | Richard Linden <none@none> | 2012-01-05 10:59:29 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-01-05 10:59:29 -0800 |
commit | 66fcc2da3925cd16939e4438dad749b2c22dbc27 (patch) | |
tree | 771fe7786750454ad478773d7045accb4a353b53 /indra/llcommon | |
parent | 570d562f5871f40bd7f8c683db5316ffd0133335 (diff) | |
parent | 9c8f6ba6a51b799d16e89e995bbcf3b0dcc15c62 (diff) |
Automated merge with https://bitbucket.org/lindenlab/viewer-development
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llstring.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp index e7fe656808..1193a4ef8d 100644 --- a/indra/llcommon/llstring.cpp +++ b/indra/llcommon/llstring.cpp @@ -1122,6 +1122,11 @@ bool LLStringUtil::formatDatetime(std::string& replacement, std::string token, struct tm * gmt = gmtime (&loc_seconds); replacement = LLStringOps::sMonthList[gmt->tm_mon]; } + else if(LLStringOps::sMonthShortList.size() == 12 && code == "%b") + { + struct tm * gmt = gmtime (&loc_seconds); + replacement = LLStringOps::sMonthShortList[gmt->tm_mon]; + } else if( !LLStringOps::sDayFormat.empty() && code == "%d" ) { struct tm * gmt = gmtime (&loc_seconds); |