You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Antoine Duprat (JIRA)" <se...@james.apache.org> on 2017/06/28 11:37:00 UTC

[jira] [Created] (JAMES-2077) Date without century are badly indexed

Antoine Duprat created JAMES-2077:
-------------------------------------

             Summary: Date without century are badly indexed
                 Key: JAMES-2077
                 URL: https://issues.apache.org/jira/browse/JAMES-2077
             Project: James Server
          Issue Type: Bug
          Components: elasticsearch
            Reporter: Antoine Duprat


Dates without century is supported by [RFC 5322|https://tools.ietf.org/html/rfc5322#section-3.3]
...
_year            =   (FWS 4*DIGIT FWS) / obs-year_
...
where
_obs-year        =   [CFWS] 2*DIGIT [CFWS]_

When receiving such date: Wed, 28 Jun 17 09:23:01 +0200
they are indexed has the 17 year after christ.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org