Include UTC timezone with returned datetimes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
No file or test is named in the issue. Start by locating datetime deserialization in the Python SDK and inspect existing tests around returned datetime values. Done means deserialized datetimes consistently include UTC timezone information and the relevant tests verify that behavior.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 983
- Forks
- 331
- Avg merge
- 3m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/dropbox-sdk-python
-
question
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-python#585 · 4 comments ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-python#491 · 1 comment ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
dropbox/dropbox-sdk-python#476 · 3 comments ·
-
bug
Difficulty 5/5 Over a week Newbie friendliness 20/100
dropbox/dropbox-sdk-python#475 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 50/100
dropbox/dropbox-sdk-python#459 · 4 comments · 1 reaction ·
All issues in dropbox/dropbox-sdk-python
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·