Project

General

Profile

Feature #997

Advanced date completion

Added by Stefan Eichert 21 days ago. Updated 12 days ago.

Status:
Closed
Priority:
Low
Category:
Frontend
Target version:
Start date:
2019-03-05
Due date:
% Done:

0%

Found in version:

Description

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.

History

#1 Updated by Alexander Watzinger 21 days ago

  • Target version set to Wishlist
  • Status changed from New to Acknowledged

This sounds like a good topic for a meeting. I was planning to organise a meeting for OpenAtlas involved people anyway.

#2 Updated by Alexander Watzinger 13 days 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.

#3 Updated by Alexander Watzinger 12 days ago

  • Category set to Frontend
  • Status changed from Acknowledged to Closed
  • Target version changed from Wishlist to 3.15.0
  • Assignee set to Alexander Watzinger

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.

#4 Updated by Alexander Watzinger 12 days ago

  • Target version changed from 3.15.0 to 3.14.1
  • Tracker changed from Refactor to Feature
  • Subject changed from Date to to Advanced date completion

Also available in: Atom PDF