STORM-1136 FIXED LLDateUtil class defines March having 21 days, causing wrong avatar age calculation
- Applied patch which fixes typo in enum.master
parent
fa1827fa32
commit
c797cf6500
|
|
@ -32,9 +32,9 @@
|
||||||
#include "llui.h"
|
#include "llui.h"
|
||||||
|
|
||||||
static S32 DAYS_PER_MONTH_NOLEAP[] =
|
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[] =
|
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)
|
static S32 days_from_month(S32 year, S32 month)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue