Find Date Incorrect

Aperta
#875 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

The payload names no source files, so locate the code that parses find dates when a myfinds pocket query is imported and check whether it treats the UTC timestamps as local time. Reproduce by logging a find after UTC midnight and comparing the imported date with the one shown on the site. Done means imported finds show the local date, with a test covering a late-evening UTC timestamp. The issue says the fix is not simple and suggests asking the maintainers how GSAK handled it first.

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

Descrizione

area: import bug
Description

Currently, the find dates that groundspeak supplies in the myfinds pocket query are zulu time. So, that means that if I log a cache after 6pm my time, it will be returned with a zulu date and time of tomorrow since it's after midnight zulu. It appears that OpenSAK may not be taking this into account. My screenshot is of caches I found on August 8. One is GSAK and the other side is OSAK. You can see the difference. The GSAK side has correct

Image
Steps to Reproduce

Log a cache after zulu midnight. Run the myfind pq and import it and the find date will show up as the day after it was actually found.

Expected Behavior

Unfortunately this problem isn't simple to fix. I would recommend talking to Mike Wood about how GSAK handled it. You can see this post on gsak forums discussing it a bit. https://gsak.net/board/index.php?showtopic=37364

Environment

No response

Lingua principale
Python
Stelle
37
Fork
17
Merge medio
16h 7m
PR unite (30g)
128

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 OpenSAK-Org/OpenSAK

Tutte le issue di OpenSAK-Org/OpenSAK

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.