12products / 12products/website

Incorrect countdown on Sundays

Aperta Adatta ai principianti
#1 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug good first issue help wanted
Lingua principale
TypeScript
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We have a counter that counts down to the next live stream but if the stream has started (eg. it is 12:30 PST) then the countdown says the next stream is 30 minutes from now. In fact, it's 30 minutes in the _past_.

![image](https://user-images.githubusercontent.com/16005567/150696116-0a345e74-f144-4d4b-a4b3-5633b8b9c3d3.png)

☝🏻 This is what the website shows at 12:06 PM PST.

What we actually want is to say that we've been long for X amount of time. If it is past 2 PM PST, then we'll display "next stream" again.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Look for the countdown component or timer logic in the frontend code, likely in a TypeScript file. Check how it calculates the time difference to the next stream, especially the handling of Sundays and the 12 PM PST start time. Verify the current time comparison and adjust the logic to show 'stream started X time ago' when past 12 PM PST until 2 PM PST, then switch to 'next stream'.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.