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

[Bug] BlockBlock 2.5.2 displays alert timestamps in UTC instead of local time

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
objective-c

調査の方向性

Start in Daemon/Daemon/Event.m and trace how ALERT_TIMESTAMP reaches the UI helper through the existing XPC path. Replace the string-based timestamp flow with a date value and format it for the logged-in user’s timezone and locale. Done means alerts display local, localized timestamps instead of UTC while retaining the correct date and time.

索引モデルが issue の本文から書いたものです。

説明

My Mac is set to America/Sao_Paulo (UTC−03), but BlockBlock 2.5.2 displays alert timestamps in UTC.

Actual: 2026-09-28 12:57:27 AM +00
Expected: 2026-09-27 9:57:27 PM -03

In Daemon/Daemon/Event.m, the timestamp is generated using NSDate.description:

alert[ALERT_TIMESTAMP] =
    (nil != self.file.timestamp.description)
    ? self.file.timestamp.description
    : self.timestamp.description;

The UI helper then displays this string directly:

self.timeStamp.stringValue = self.alert[ALERT_TIMESTAMP];

Could alert timestamps use the user’s local timezone? Ideally, the daemon would send the date over XPC, and the UI helper would format it using the logged-in user’s timezone and locale.

Thank you!

主要言語
Objective-C
スター
859
フォーク
50
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

objective-see/BlockBlock のほかの issue

objective-see/BlockBlock の issue をすべて見る

似ている issue

Objective-C の issue をもっと見る

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

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