diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-09-14 16:42:00 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-09-14 16:42:00 -0700 |
commit | 6a2eda0f34519f0c3d10683f144a21da6edbf220 (patch) | |
tree | 785a36bc2dd08338efcfb92a15c3e1d313afef17 /indra | |
parent | 781fded069d877ea9c07d5e5077178f65ef82e7a (diff) |
EXP-1199 FIX -- Inbox new tag sometimes differs from recent item delivery times, sim timezone settings differences suspected.
* Put 7 hour time difference back in to account for PDT vs GMT inventory server time
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpanelmarketplaceinboxinventory.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llpanelmarketplaceinboxinventory.cpp b/indra/newview/llpanelmarketplaceinboxinventory.cpp index f525dbf434..faba6dc0cf 100644 --- a/indra/newview/llpanelmarketplaceinboxinventory.cpp +++ b/indra/newview/llpanelmarketplaceinboxinventory.cpp @@ -192,10 +192,13 @@ void LLInboxFolderViewFolder::draw() void LLInboxFolderViewFolder::computeFreshness() { - const U32 last_expansion = gSavedPerAccountSettings.getU32("LastInventoryInboxActivity"); + const U32 last_expansion_utc = gSavedPerAccountSettings.getU32("LastInventoryInboxActivity"); - if (last_expansion > 0) + 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); #if DEBUGGING_FRESHNESS |