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

parsing metadata.json #198

Open
kmccurley opened this issue Jan 21, 2021 · 0 comments
Open

parsing metadata.json #198

kmccurley opened this issue Jan 21, 2021 · 0 comments
Assignees

Comments

@kmccurley
Copy link
Member

The metadata.json file comes from the events database, but may be lacking some fields and has dates in ISO standard 2021-08-21. If the template wants to show this as Aug 8,2021 then it needs to parse the date and reformat.

Second, the notificationdate may be null if it wasn't decided at the time that it's in the events database. The template should handle null values in the json and put out a warning (like editMe class). All fields should be checked for their presence (e.g, rebuttalDue).

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

2 participants