Skip to content

locale string component/ helper fn #474

Description

@MikeyManoguerra
  <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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions