AloisSeckar / AloisSeckar/nuxt-ignis
`ignisDate` should allow string and number arguments
Abierto
Apto para principiantes
bug
- Lenguaje dominante
- TypeScript
- Estrellas
- 18
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- nuxt, typescript
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 72/100