aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgroupnotify.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-05-24 02:59:02 -0500
committerJacek Antonelli2009-05-24 02:59:08 -0500
commit811454f47ea1f3c5cb8971f0fed0959b18bd0747 (patch)
tree1b8689df2dc8857cdc5a956a5233d5bf94b5c8d7 /linden/indra/newview/llgroupnotify.cpp
parentSecond Life viewer sources 1.23.0-RC (diff)
downloadmeta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.zip
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.gz
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.bz2
meta-impy-811454f47ea1f3c5cb8971f0fed0959b18bd0747.tar.xz
Second Life viewer sources 1.23.1-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llgroupnotify.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llgroupnotify.cpp b/linden/indra/newview/llgroupnotify.cpp
index 5358699..b2a7587 100644
--- a/linden/indra/newview/llgroupnotify.cpp
+++ b/linden/indra/newview/llgroupnotify.cpp
@@ -184,7 +184,9 @@ LLGroupNotifyBox::LLGroupNotifyBox(const std::string& subject,
184 static const LLStyleSP datestyle(new LLStyle(true,LLColor4::black,"serif")); 184 static const LLStyleSP datestyle(new LLStyle(true,LLColor4::black,"serif"));
185 185
186 text->appendStyledText(subject + "\n",false,false,headerstyle); 186 text->appendStyledText(subject + "\n",false,false,headerstyle);
187 text->appendStyledText(time_stamp.asRFC1123(),false,false,datestyle); 187
188 LLDate notice_date = time_stamp.notNull() ? time_stamp : LLDate::now();
189 text->appendStyledText(notice_date.asRFC1123(),false,false,datestyle);
188 // Sadly, our LLTextEditor can't handle both styled and unstyled text 190 // Sadly, our LLTextEditor can't handle both styled and unstyled text
189 // at the same time. Hence this space must be styled. JC 191 // at the same time. Hence this space must be styled. JC
190 text->appendColoredText(std::string(" "),false,false,LLColor4::grey4); 192 text->appendColoredText(std::string(" "),false,false,LLColor4::grey4);