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

OCA Explorer not using the OCA Bundle data type/format/standards data in displaying test data #22

Open
swcurran opened this issue Jan 4, 2024 · 0 comments

Comments

@swcurran
Copy link
Collaborator

swcurran commented Jan 4, 2024

When there is test data, the data should be presented using the data type/format/standards, etc. information from the OCA Bundle. A good example is the image below:

  • the "dateint" data (which in the OCA Bundle has a specific standard so it can be parsed) should be formatted as a proper date, ideally using whatever settings that can be picked up from the browser, or the language being used. Worst case, please present it in the format "January 1, 2024"
  • Where the data standard from the OCA Bundle is "Unix Time", the data should be presented as the date time of the value in the local time zone (per the browser) or GMT if not available.
  • all strings should be checked to see if they are data urls (such as the image in the "Photo") and displayed as per the mime-type in the data URL.

I would expect this all to be part of the OCA Library, so while the changes per the issue will appear in the OCA Explorer, the code changes might have to be implemented elsewhere.

image

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