Problem with /last around date change

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
backend

Direzione di ricerca

The payload does not name the files, so start by finding the handler for the /last route and the code that chooses which UTC date's data file to read. Reproduce by requesting /last after no data exists for the current UTC date, such as shortly after 5pm PDT. Done when the endpoint returns the most recent position for the current day, with the reporter's suspected cause confirmed or ruled out.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Sometimes when querying /last, the position from the previous day is returned. This happens shortly after 5pm PDT for example. I suspect it's when there is no data for the current UTC date, so it starts looking for data on the previous day but doesn't start at the end of the day and instead starts looking from the current time on the previous day.

Lingua principale
JavaScript
Stelle
143
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aaronpk/Compass

Tutte le issue di aaronpk/Compass

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.