alibaba / alibaba/Alibaba-Java-Coding-Guidelines
Guide about date
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 1.1k
- Forks
- 246
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
According to
```
9. [Mandatory] A table must include three columns as following: id, gmt_create and gmt_modified.
Note: id is the primary key, which is unsigned bigint and self-incrementing with step length of 1. The type of gmt_create and gmt_modified should be DATETIME.
```
Can I understand that in Alibaba it is recommended to define the date type as DATETIME? If not, shall we add guide about this? TIMESTAMP or DATETIME is the right choice?
We see that it is mandatory to define gmt_create, gmt_modified, can we understand that when dealing with cross time zone issues you recommend storing the date of gmt time in the database and then converting it to local time zone for display?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Nenhum arquivo ou teste é identificado na issue. Primeiro, determine se o guia deve recomendar DATETIME ou TIMESTAMP e como os valores UTC devem ser tratados entre fusos horários; considera-se concluído quando a diretriz contiver uma recomendação inequívoca e orientações sobre fusos horários.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- sql
- Domínio
- databases, documentation
- Tipo de issue
- Documentação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100