diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-10-05 16:39:32 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-05 16:39:32 -0700 |
commit | d8489166645f2e3ea7edd252997f9f48aa0871c3 (patch) | |
tree | e2f5c52f0c397b0dfb1d0e3cb47ca59d609292dc /indra/newview/llpanelmarketplaceinboxinventory.cpp | |
parent | 17c699e4281ffff58e24c5db960a5c33018f1747 (diff) | |
parent | a88bb3231b2685eb640710d7617d26b7f3a2c0d2 (diff) |
Merge with latest
Diffstat (limited to 'indra/newview/llpanelmarketplaceinboxinventory.cpp')
-rw-r--r-- | indra/newview/llpanelmarketplaceinboxinventory.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llpanelmarketplaceinboxinventory.cpp b/indra/newview/llpanelmarketplaceinboxinventory.cpp index faba6dc0cf..2e4bf55d51 100644 --- a/indra/newview/llpanelmarketplaceinboxinventory.cpp +++ b/indra/newview/llpanelmarketplaceinboxinventory.cpp @@ -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 } |