alpacahq / alpacahq/alpaca-trade-api-go

UpdatedAt time in stream.News API needs standard time format

Abierto
#244 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
429
Forks
118
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When streaming news, the time is in an arbitrary format, e.g.

`"CreatedAt":"2023-01-30T13:01:31+01:00","UpdatedAt":"2023-01-30T13:01:32+01:00"`

which cannot be simply unmarshaled into `stream.News` struct, where `CreatedAt` and `UpdatedAt` are `time.Time` structs. Could the time be standardized, so it's consistent with alpaca API? I think `time.Time` uses `RFC 3339` format.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.