Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

DataStore.calendarNoteByDate(..., 'quarter') returns wrong quarter

オープン
#523 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@EduardMe がすでに取り組んでいます。

2024年1月27日 から。

評価

この issue はまだ評価されていません。

説明

API bug P-1

From manual checks, DataStore.calendarNoteByDate(today, 'quarter') returns wrong note on last day of quarter.

I've done some eye-ball checks from the extra logs, as you requested, @EduardMe.
So far these appear to have problems:

JSLog: [calendarNoteByDate] with date = 2023-09-30 23:00:00 +0000 / 20231001, timeframe = quarter, calculated filename = 2023-Q4.md
JSLog: [calendarNoteByDate] with date = 2024-03-31 23:00:00 +0000 / 20240401, timeframe = quarter, calculated filename = 2024-Q2.md

These calls for quarters almost certainly come from my call:

const currentQuarterlyNote = DataStore.calendarNoteByDate(today, 'quarter')

These checks were done in GMT, so no timezone offset to worry about.

Originally reported here in Discord.

主要言語
JavaScript
スター
204
フォーク
82
平均マージ
22時間 27分
マージ済み PR(30日)
3

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NotePlan/plugins のほかの issue

NotePlan/plugins の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。