dropbox / dropbox/dropbox-sdk-python
Include UTC timezone with returned datetimes
- Linguagem predominante
- Python
- Estrelas
- 983
- Forks
- 330
- Merge médio
- 3min
- PRs com merge (30d)
- 10
Descrição
**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
Guia de contribuição
Direção de pesquisa
Nenhum arquivo ou teste é mencionado na issue. Comece localizando a desserialização de datetime no Python SDK e inspecione os testes existentes sobre os valores datetime retornados. A tarefa estará concluída quando os datetimes desserializados incluírem consistentemente informações de fuso horário UTC e os testes relevantes verificarem esse comportamento.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- api
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100