NotePlan / NotePlan/plugins

calendarNoteByDateString() not working for uninitialised notes

Aperta
#424 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@EduardMe ci sta già lavorando.

Dal 15/3/2023.

API bug
Lingua principale
JavaScript
Stelle
204
Fork
82
Merge medio
22h 27m
PR unite (30g)
3

Descrizione

Not strictly a bug, but its related to an earlier bug that did get fixed.

Back around v3.1 asking calendarNoteByDate() for a future but as-yet uninitialised calendar note resulted in null. You fixed this behaviour.

Since then you've added calendarNoteByDateString() but I've only just noticed that its documentation says:

"Returns the calendar note for the given date string (can be undefined, if the calendar note was not created yet) ...".

Please update this call to act the same as its older brother.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.