Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13178

Edit search: Smart times when searching between dates

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Edit search
    • None

      When we search with a between date_from and date_to condition, specifying only dates and no times, the time is automatically defaulted to 00:00:00.

      Created between 2023-07-19 and 2023-07-21 in fact searches for edits between 2023-07-19 00:00:00 and 2023-07-21 00:00:00 which does not include edits created on 2023-07-21.

      Intuitively we would have thought it would return all edits for that day.

      For this we have to use the little bit counter-intuitive Created between 2023-07-19 and 2023-07-22.

      To make it more intuitive, I think we should still default time to 00:00:00 for date_from but we should default time to 23:59:59 for date_to.


      BTW, I do know that to search one day, I should just use Created on 2023-07-21.

            Unassigned Unassigned
            jesus2099 jesus2099
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package