Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

DateTime should not default to current date #381

Open
osbornm opened this issue Apr 16, 2021 · 0 comments
Open

DateTime should not default to current date #381

osbornm opened this issue Apr 16, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@osbornm
Copy link
Contributor

osbornm commented Apr 16, 2021

if the value passed is is undefined there should be a customizable message displayed rather than default to the current date time. This avoids having to do the following everywhere {user.updated && <DateTime value={user.updated} />}

@osbornm osbornm added enhancement New feature or request good first issue Good for newcomers labels Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant