AloisSeckar / AloisSeckar/nuxt-ignis
`ignisDate` should allow string and number arguments
Offen
Anfängerfreundlich
bug
- Vorherrschende Sprache
- TypeScript
- Sterne
- 18
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
The underlying `format` function from `date-fns` actually accepts and parses following:
```ts
export type DateArg = DateType | number | string;
```
It doesn't make sense to narrow this down to `Date` only as `ignisDate` currently does.
Beitragsleitfaden
Rechercherichtung
Search the TypeScript source for `ignisDate` and inspect how it passes arguments to the `date-fns` `format` function. Done means the public typing accepts Date, string, and number arguments while preserving the existing Date case.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- nuxt, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 72/100