[Import/Export] Format an instant in an IANA timezone
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- web-dev
調査の方向性
src/lib/ics/dateTime.ts から始めてください。このファイルは前提作業 #788 で作成または拡張される予定です。出発点の例として src/lib/domain/section.ts を読んでください。明示的な timeZone を指定して Intl.DateTimeFormat を使う formatInstant(date, timeZone) を追加し、src/lib/ics/dateTime.test.ts が New_York と UTC の例および無効なタイムゾーンを扱っていることを確認してください。pnpm test -- src/lib/ics/dateTime.test.ts、pnpm lint、pnpm typecheck がすべて成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What to build
Format one exact moment using an explicitly chosen timezone. Calendar export must use that choice rather than the timezone or language settings of the contributor’s computer.
Files
src/lib/ics/dateTime.ts(extend the prerequisite’s file)- Starting example: src/lib/domain/section.ts
Code to add or extend:formatInstant(date: Date, timeZone: string): string.
Steps
- Use
Intl.DateTimeFormatwith explicit timeZone, numeric date/time parts and hourCycle h23. - Assemble formatToParts output using the existing formatter; append Z only when output timezone is UTC.
- Let an invalid IANA zone yield a clear error; do not rely on the computer locale.
Example
Date 2026-08-12T13:10:00Z/New_York → 20260812T091000; UTC → 20260812T131000Z.
Check it works
In src/lib/ics/dateTime.test.ts, check the example above and the failure or limit described in the steps. Run pnpm test -- src/lib/ics/dateTime.test.ts, pnpm lint and pnpm typecheck.
Before starting
- #788 — Format local calendar date and time
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- 主要言語
- TypeScript
- スター
- 19
- フォーク
- 94
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DevDogsUGA/DogDays のほかの issue
-
map
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DevDogsUGA/DogDays#868 ·
-
map
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DevDogsUGA/DogDays#865 ·
-
sharing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DevDogsUGA/DogDays#854 ·
-
import-export
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DevDogsUGA/DogDays#850 ·
-
import-export
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DevDogsUGA/DogDays#842 ·
DevDogsUGA/DogDays の issue をすべて見る
似ている issue
-
Endpoint links in the tag operations list are below the 24px target size対応中かも @AdzerKI が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
linagora/twake-tasks#435 ·
メンテナーはふだん 1 日以内に返信
-
bug domain: database priority: p1 Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
StellarState/SS-backend#632 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A2A audit timestamps end in +00:00Z (invalid ISO 8601)対応中かも @O1sumitkumar が今日担当しました。 オープンbug good first issue help wanted python
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
`cf complete zsh >> .zshrc` fails on vanilla zsh再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cloudflare/cf#340 ·
メンテナーはふだん 1 日以内に返信