Advanced date completion
If a timespan in the "date to" is entered for the begin or end of an entity only as year or month then the timespan created ends with the first day of the respective year/month.
It would be better to change this to the last day of the previous year/month i.e. 31.12.
Alternatively we could discuss if the users want to include the "year/month to". Then the year/month to date should include the whole date_to year/month.
The main question is: Does "begin to" or "end to" mean that the timespan ends before this date or include this date.
Updated by Alexander Watzinger over 2 years ago
About the question at the end: I made a small user survey if people assume that timespan start/end is in- or excluded when implementing the search with date criteria. Every person (about 12) said they would assume that the start/end date is included.
Updated by Alexander Watzinger about 2 years ago
- Category set to UI
- Status changed from Acknowledged to Closed
- Assignee set to Alexander Watzinger
- Target version changed from Wishlist to 3.16.0
The To date (the second value of timespans) autocomplete was rewritten.
It kind of tries to fill to the max e.g.
year only 1984 => 1984-12-31 year and month 1984-10 => 1984-10-31
The From date autocomplete stayes the same e.g.
year only 1984 => 1984-01-01 year and month 1984-10 => 1984-10-01
It was implemented in entity forms and search. Many thanks to Saranya Balasubramanian for support.