[MGNLEESOLR-118] Dates should be sent as UTC to Solr Created: 12/Feb/18  Updated: 12/Feb/18

Status: Open
Project: Solr Search Provider
Component/s: None
Affects Version/s: 5.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Federico Navarro Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 5.5.6, Java 1.8, Tomcat 8.0.45, Solr 5.5.4


Attachments: Java Source File SolrIndexServiceUtcDatesTest.java     Text File utc_date.patch    
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Testcase included:
Yes
Visible to:
Marcel Evers, Mariusz Chruscielewski, Simon Lutz, Stef te Winkel

 Description   

Because Solr does not handle timezones for the type date, dates should be sent as UTC in order to avoid incorrect date processing over solr search results.

In current code, it is not specified the time zone for the formatter, and the date is incorrectly indexed in Solr.


Generated at Mon Feb 12 11:00:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.