Section confusing dates

This commit is contained in:
Webysther Nunes 2017-10-10 16:19:34 -03:00
parent b0f2df9859
commit f8e8ed2304
No known key found for this signature in database
GPG Key ID: 5A00E5B36F1D82B0

View File

@ -163,19 +163,18 @@ version: 1.0.0
%h4#confusing-dates
%a.anchor{ href: "#confusing-dates", aria_hidden: "true" }
Confusing Dates
Datas confusas
%p
Regional date formats vary throughout the world and it's often
difficult to find a human-friendly date format that feels intuitive
to everyone. The advantage of dates formatted like
<code>2017-07-17</code> is that they follow the order of largest to
smallest units: year, month, and day. This format also doesn't
overlap in ambiguous ways with other date formats, unlike some
regional formats that switch the position of month and day numbers.
These reasons, and the fact this date format is an
#{link_to "ISO standard", iso} are why it is the recommended date
format for changelog entries.
Os formatos regionais de data variam em todo o mundo e muitas vezes
é difícil encontrar um formato de data amigável que seja intuitivo para todos.
A vantagem das datas formatadas como <code>2017-07-17</code> é que elas seguem
a ordem da maior para a menor unidade de tempo: ano, mês e dia. Este formato
também não se sobrepôem de maneira ambígua como em outros formatos de data, ao
contrário de alguns formatos regionais que alteram a posição dos números do mês
e dia. Esses motivos, e o fato de ser um formato de data suportado pelo
#{link_to "ISO standard", iso} são as razões para ele ser o formato de data
recomendado para as entradas do <em>changelog</em>.
%aside
Theres more. Help me collect these antipatterns by