summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2011-04-13 19:50:51 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2011-04-13 19:50:51 +0300
commitc797cf6500a79f361ddfbaec589d64178efafcff (patch)
tree522fba3682017e8ef61ebd4a89a2a09923615cea /indra/newview
parentfa1827fa32f5dc046b17cde1ddbac8316f061793 (diff)
STORM-1136 FIXED LLDateUtil class defines March having 21 days, causing wrong avatar age calculation
- Applied patch which fixes typo in enum.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lldateutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lldateutil.cpp b/indra/newview/lldateutil.cpp
index fcc73a07bc..18ae6107e7 100644
--- a/indra/newview/lldateutil.cpp
+++ b/indra/newview/lldateutil.cpp
@@ -32,9 +32,9 @@
#include "llui.h"
static S32 DAYS_PER_MONTH_NOLEAP[] =
- { 31, 28, 21, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
+ { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
static S32 DAYS_PER_MONTH_LEAP[] =
- { 31, 29, 21, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
+ { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
static S32 days_from_month(S32 year, S32 month)
{