NotePlan / NotePlan/plugins

calendarNoteByDateString() not working for uninitialised notes

Đang mở
#424 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@EduardMe đang làm issue này rồi.

Từ ngày 15/3/2023.

API bug
Ngôn ngữ chính
JavaScript
Star
204
Fork
82
Merge trung bình
22 giờ 27 phút
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.