Issue
In the Pega Constellation Global Search result list, the "last updated" date for a case is displayed one day later than the actual date for operators in UTC-negative time zones.
Symptoms and Impact
When an operator whose time zone is set to a UTC-negative offset (for example, UTC−6) searches for a case in Global Search, the date shown in the result list does not match the date shown inside the case detail view. Specifically:
- Cases created or updated after 6:00 PM local time (UTC−6) are displayed in Global Search with a date that is one calendar day later than the actual date.
- The case detail view (for example, the interaction history section) continues to display the correct local date.
- Cases created before the UTC day-boundary crossing (that is, before 6:00 PM local time for UTC−6) are not affected.
- Changing the operator's time zone setting and logging out and back in does not resolve the discrepancy
The impact is that operators may be confused about when a case was last updated and may apply incorrect date filters when searching.
Steps to reproduce
- Log in as an operator whose time zone is configured to a UTC-negative offset (for example, America/Mexico_City, UTC−6).
- Create or update a case after 6:00 PM local time.
- Open the case and note the last-updated date shown in the case history. This date is correct.
- In Global Search, enter the Case ID.
- In the search result list, look at the date shown next to the Case ID.
- Result: The date in the search result is one day later than the date shown in the Case history.
Root Cause
This is a current platform bug.
The Global Search result list in Constellation is driven by the D_pySearch data page, which is backed by the search engine. The search engine returns timestamps in UTC format. Because the Global Search result list is a product-controlled, non-configurable experience, the rendering layer does not convert those UTC timestamps to the operator's local time zone before displaying them. Operator time zone settings apply to the case detail view through a separate rendering path, which is why the two views show different dates.
For any operator whose local time zone is behind UTC, cases created or updated after the UTC midnight crossover point (6:00 PM for UTC−6, 7:00 PM for UTC−5, and so on) are displayed in Global Search with the following calendar day's date.
Solution
This issue is resolved in upcoming releases.
Workaround
Until a platform fix is available, use the following approaches:
- To verify the precise date and time a case was last updated, open the case and refer to the case history view rather than the Global Search result list.
- When filtering Global Search results by date, extend the date range by ±1 day to account for the UTC offset. This ensures that cases created near the UTC day boundary are included in the results.
References
Customize the OOTB Portal Search result display in Constellation – pega forum
Custom Search In Constellation – pega forum