Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store date precision with the dates on import #21

Open
bencomp opened this issue Feb 28, 2014 · 1 comment
Open

Store date precision with the dates on import #21

bencomp opened this issue Feb 28, 2014 · 1 comment

Comments

@bencomp
Copy link
Contributor

bencomp commented Feb 28, 2014

For indexing and searching, we convert any dates other than full dates (i.e. YYYY-MM or YYYY) to full dates. We need to allow just years or year+month (done) and store the precision.

EHRI/ehri-frontend#128 will allow free text (e.g. "Spring 1943") for display, but it still needs a date to some precision. This must also be supported - display text and machine-actionable formats.

@mikesname
Copy link
Contributor

Added to UI - precision is available as:

  • year
  • quarter
  • month
  • week
  • day

@bencomp bencomp removed the bug label Jan 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants