NotePlan / NotePlan/plugins

calendarNoteByDateString() not working for uninitialised notes

Offen
#424 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@EduardMe arbeitet bereits daran.

Seit 15.3.2023.

API bug
Vorherrschende Sprache
JavaScript
Sterne
204
Forks
82
Ø Merge
22 Std. 27 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.