CodeForPhilly / CodeForPhilly/prevention-point

locale string component/ helper fn

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
frontend good first issue
Dominant language
JavaScript
Stars
30
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.