Quantcast
Channel: Alfresco Forums - Configuration
Viewing all articles
Browse latest Browse all 411

weird timezone issue / faceted search

$
0
0

Hello there,

we ran into a weird timezone problem with our Alfresco setup:
Our custom model has a date type (nbp:bis)with dates like

09 Jul 2015 00:00:00 GMT+0200 (CEST)
(taken from node browser)

which is entirely fine. However, I created a custom facet in search for that field and the facet for that document appears to be
  2015-07-08T22:00:00Z

which is the same date in UTC. The resulting URL for that facet
  http://[myhost]/share/page/dp/ws/faceted-search#searchTerm=%40nbp%3Abis%3A*&scope=repo&sortField=Relevance&facetFilters=%7Bhttp%3A%2F%2Fwww.neoburger.com%2Fmodel%2Fcontent%2F1.0%7Dbis%7C2015-07-08T22%3A00%3A00Z  

returns no hits. When I manually change the URL to
  http://[myhost]/share/page/dp/ws/faceted-search#searchTerm=%40nbp%3Abis%3A*&scope=repo&sortField=Relevance&facetFilters=%7Bhttp%3A%2F%2Fwww.neoburger.com%2Fmodel%2Fcontent%2F1.0%7Dbis%7C2015-07-09T00%3A00%3A00Z

I get the correct result but I have no idea where this mismatch comes from. Is that one of the hidden joys of solr configuration, that I didn't dare to touch yet? Or is the search UI out of sync with solr for some reason?

regards

5.0.d

Viewing all articles
Browse latest Browse all 411

Trending Articles