Skip to content

locale string component/ helper fn #474

@MikeyManoguerra

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

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