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

How dates are displayed/passed to the API #7

Open
dfkoh opened this issue Sep 12, 2019 · 0 comments
Open

How dates are displayed/passed to the API #7

dfkoh opened this issue Sep 12, 2019 · 0 comments

Comments

@dfkoh
Copy link
Contributor

dfkoh commented Sep 12, 2019

Currently, we are trying to switch from Y/M/D to Y/M as a field.

We have to accomodate this change in the backend as well.

Some considerations

  • Moving away from storing this as a date in the backend will make it harder to calculate an interval
    • If we keep storing this as a date on the backend, where do we convert from Y/M to Y/M/D? Do we do this conversion on the frontend side or backend side?
  • We also need to represent a "Present" value as an end date

What are people's proposals for how this will work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant