Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Use composition for date in EventPreview #669

Open
maiertech opened this issue Dec 22, 2020 · 0 comments
Open

Use composition for date in EventPreview #669

maiertech opened this issue Dec 22, 2020 · 0 comments

Comments

@maiertech
Copy link
Contributor

Currently date in EventPreview is a string. It's up to the consumer of EventPreview to figure out a meaningful string representation of start and end dates. To create some more flexibility in how start and end dates are presented to the user, date should be of type node, not string. Then you could come up with your own custom component that represents event dates.

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

No branches or pull requests

1 participant