Removing time offset hack for 'new' tag

meow-7.2.2
Leslie Linden 2011-09-28 16:59:46 -07:00
parent 938f1b4f41
commit 6eb09ab2ae
1 changed files with 2 additions and 5 deletions

View File

@ -196,15 +196,12 @@ void LLInboxFolderViewFolder::computeFreshness()
if (last_expansion_utc > 0)
{
const U32 time_offset_for_pdt = 7 * 60 * 60;
const U32 last_expansion = last_expansion_utc - time_offset_for_pdt;
mFresh = (mCreationDate > last_expansion);
mFresh = (mCreationDate > last_expansion_utc);
#if DEBUGGING_FRESHNESS
if (mFresh)
{
llinfos << "Item is fresh! -- creation " << mCreationDate << ", saved_freshness_date " << last_expansion << llendl;
llinfos << "Item is fresh! -- creation " << mCreationDate << ", saved_freshness_date " << last_expansion_utc << llendl;
}
#endif
}