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

Include UTC timezone with returned datetimes

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

issue ではファイルもテストも指定されていません。まず Python SDK 内の datetime のデシリアライズ処理を見つけ、返される datetime 値に関する既存のテストを確認してください。デシリアライズされた datetime に一貫して UTC のタイムゾーン情報が含まれ、関連するテストでその動作が検証されれば完了です。

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

説明

enhancement

Why is this feature valuable to you? Does it solve a problem you're having?

Datetimes returned by the client library do not include a timezone. As per lost timezone, the timezone is always UTC.

However, I had to search the internet and find this bug to confirm these times were UTC. I'm also going to have to manually set the timezone to UTC to actually use these datetimes in my application - a datetime without a timezone is basically meaningless.

Describe the solution you'd like

It should be trivial to include the UTC timezone everywhere that datetimes are deserialised.

Describe alternatives you've considered

N/A, there's not really other alternatives.

Additional context

N/A

主要言語
Python
スター
983
フォーク
331
平均マージ
3分
マージ済み PR(30日)
10

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

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

はじめの一歩

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

dropbox/dropbox-sdk-python のほかの issue

dropbox/dropbox-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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