STORM-1136 FIXED LLDateUtil class defines March having 21 days, causing wrong avatar age calculation

- Applied patch which fixes typo in enum.
master
Paul ProductEngine 2011-04-13 19:50:51 +03:00
parent fa1827fa32
commit c797cf6500
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{