dropbox / dropbox/dropbox-sdk-python

Include UTC timezone with returned datetimes

オープン
#482 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
983
フォーク
330
平均マージ
3分
マージ済み PR(30日)
10

説明

**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](https://github.com/dropbox/dropbox-sdk-python/issues/64), 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

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

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

評価

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

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

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