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

locale string component/ helper fn #474

Open
MikeyManoguerra opened this issue Jan 5, 2021 · 0 comments
Open

locale string component/ helper fn #474

MikeyManoguerra opened this issue Jan 5, 2021 · 0 comments
Labels

Comments

@MikeyManoguerra
Copy link
Collaborator

MikeyManoguerra commented Jan 5, 2021

  <PrevPointCopy>Visit Date: {new Date(visitData.created_at).toLocaleDateString(
                "en-US",
                {
                  year: "numeric",
                  month: "2-digit",
                  day: "2-digit",
                  timeZone: "UTC", 
                })}</PrevPointCopy>

this occurs similarly in several places. make a component to display or a helper fn to generate this. im leaning to towards a component but it doesnt exactly matter

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

No branches or pull requests

1 participant