diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2011-04-13 19:50:51 +0300 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2011-04-13 19:50:51 +0300 |
commit | c797cf6500a79f361ddfbaec589d64178efafcff (patch) | |
tree | 522fba3682017e8ef61ebd4a89a2a09923615cea /indra/newview | |
parent | fa1827fa32f5dc046b17cde1ddbac8316f061793 (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.cpp | 4 |
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) { |