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

import google spreadsheet year validation #16

Open
uf0 opened this issue Oct 17, 2017 · 1 comment
Open

import google spreadsheet year validation #16

uf0 opened this issue Oct 17, 2017 · 1 comment
Assignees

Comments

@uf0
Copy link
Member

uf0 commented Oct 17, 2017

if data__start_date and/or data__end_date are empty look at data__year

if data__year is a year (e.g. 1918):

  • data__start_date -> '1918-01-01'
  • data__end_date -> '1918-12-31'

if data__year is uncertain:

  • data__start_date -> '1914-01-01'
  • data__end_date -> '1918-12-31'
@danieleguido
Copy link

thanks @uf0, I've set the priority to enhancement

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