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

Add timeConverter Property to NotificationView for Custom Time Formatting #152

Closed
leewyatt opened this issue Apr 15, 2024 · 0 comments
Closed
Assignees

Comments

@leewyatt
Copy link
Contributor

Description:
The NotificationView class currently uses a default time converter to display dates and times, which is implemented within the ContentPane inner class. This converter formats date-time information in a pre-defined way ("now", "yesterday", "2 days ago", etc.). While this works well for most cases, there is a need to allow users to customize how date and time are formatted based on their specific requirements.

Proposed Feature:
Introduce a timeConverter property in the NotificationView class. This property should allow users to define their own StringConverter implementation, which can then be used across all instances of NotificationView to format date and time information.

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