Thread (17 messages) 17 messages, 2 authors, 2021-06-02

Re: [PATCH v2 01/11] doc: doc-diff: set docdate manually

From: Bagas Sanjaya <hidden>
Date: 2021-05-22 04:27:53

On 22/05/21 05.44, Felipe Contreras wrote:
In order to minimize the differences in the footer.

Asciidoc automatically generates a date with format '%Y-%m-%d', while
asciidoctor '%F'.
%F is short yyyy-mm-dd date. AFAIK, it is the same effect as `%Y-%m-%d`.
I personally prefer the latter, so only modify it for diff purposes.

Fixes tons of these:

-Git omitted                       01/01/1970                        GIT-ADD(1)
+Git omitted                       1970-01-01                        GIT-ADD(1)
  
So, the asciidoctor generated date was the bottom one, while the asciidoc
counterpart was the above one, right?

The above one, however, was actually %m/%d/%Y.

-- 
An old man doll... just what I always wanted! - Clara
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help