Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3380

Fix bug in search index for comparing date

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: mailbox
    • Labels:
      None

      Description

      The date format used to compare the date in order to sort them, used 'hh' in the date format to represent the hour instead of 'kk'.
      https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
      So one date in the afternoon could not be compared with a date in the morning.

      This leads to error in the memory implementation. And some flacky test passing at certain hours but not others...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              remi_kowalski RĂ©mi Kowalski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: