aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgroupnotify.cpp
diff options
context:
space:
mode:
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);