Control Plane shows different calendar dates for the same occurrence in Constellation and Timeline

Aperta Adatta ai principianti
#7,240 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Leggi la formattazione della legenda di Constellation in hindsight-control-plane/src/components/data-view.tsx, alle righe 949–954, e confrontala con la formattazione di Timeline alle righe 1385–1418. Riproduci il problema in Asia/Singapore usando i timestamp dell’issue, poi fai in modo che entrambe le viste mostrino il 1° dicembre 2026 per l’occorrenza precedente, preservandone il timestamp e l’ordine cronologico.

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

Descrizione

core
Bug Description

The Timeline and Constellation can display different calendar dates for the same occurred_start. I reproduced this with the v1.3.1 Control Plane bundle in Asia/Singapore (UTC+08:00). The two renderers still use the same formatting logic on main at d8d03e0.

Steps to Reproduce
  1. Open the Control Plane in a browser using Asia/Singapore.
  2. In a test memory bank, use two dated world facts with different occurrence timestamps so the Constellation shows its color legend. Set the earlier occurred_start to 2026-11-30T16:30:00Z and the later one to 2026-12-02T04:00:00Z.
  3. In Constellation, select Occurred start as the color basis and read the first legend date.
  4. Open Timeline for the same facts and check the earlier fact's date.
Expected Behavior

Both views display December 1, 2026 for the earlier fact in Asia/Singapore. The absolute timestamp and the chronological order stay the same.

Actual Behavior

The Constellation legend shows 2026-11-30. Timeline shows December 1 at 00:30. Constellation formats its legend with toISOString().slice(0, 10), while Timeline formats the same instant in the browser time zone.

Constellation legend · Timeline date formatting

Version

Control Plane v1.3.1

Lingua principale
Python
Stelle
45.2k
Fork
5.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 vectorize-io/hindsight

Tutte le issue di vectorize-io/hindsight

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.