[Bug] BlockBlock 2.5.2 displays alert timestamps in UTC instead of local time
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 64/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- objective-c
- 領域
- desktop, localization
調査の方向性
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
objective-see/BlockBlock のほかの issue
-
Typo in installer: “addition protections” → “additional protections”対応中かも @Jah-yee が 5 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
objective-see/BlockBlock#111 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
objective-see/BlockBlock#110 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
objective-see/BlockBlock#109 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
objective-see/BlockBlock#107 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
objective-see/BlockBlock#104 ·
objective-see/BlockBlock の issue をすべて見る
似ている issue
-
Missing info Missing repro Platform: iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
software-mansion/react-native-reanimated#10908 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
unoplatform/uno#25515 ·
メンテナーはふだん 1 日以内に返信
-
Missing repro
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
software-mansion/react-native-svg#3082 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug-pending-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NativeScript/NativeScript#11525 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
holepunchto/bare-bluetooth-apple#84 ·
メンテナーはふだん 1 日以内に返信