Skip to contentSkip to conversation

manual: use current date/time for 'generated on'

PATCH New Yann E. MORIN 3 participants 3 messages Jan 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 manual: use current date/time for 'generated on'

From: "Yann E. MORIN" <[email protected]>

Currently, the manual uses the last modification date and time of manual.txt in the generated manual.

This is confusing, especially for long-checked-out repositories where the top-level manual.txt has not changed since the check out. Moreover, the manual explicitly states 'generated on', which is confusing at best.

Use the current date and time instead.

---
 docs/manual/manual.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/manual/manual.txt +2 -2
index 9ae658e..958afae 100644
@@ -8,8 +8,8 @@ The Buildroot user manual
 Buildroot usage and documentation by Thomas Petazzoni. Contributions
 from Karsten Kruse, Ned Ludd, Martin Herren and others.
 
-Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {docdate}
-{doctime} from git revision {sys:git rev-parse --short HEAD}
+Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
+{localtime} from git revision {sys:git rev-parse --short HEAD}
 
 image::logo.png[]
 
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 manual: use current date/time for 'generated on'

2014/1/4 Yann E. MORIN <[email protected]>

Quoted 5 lines

From: "Yann E. MORIN" <[email protected]>

Currently, the manual uses the last modification date and time of manual.txt in the generated manual.

Quoted 9 lines

This is confusing, especially for long-checked-out repositories where the top-level manual.txt has not changed since the check out. Moreover, the manual explicitly states 'generated on', which is confusing at best.

Use the current date and time instead.

Quoted 24 lines
---
 docs/manual/manual.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/manual/manual.txt +2 -3
index 9ae658e..958afae 100644
@@ -8,8 +8,8 @@ The Buildroot user manual
 Buildroot usage and documentation by Thomas Petazzoni. Contributions
 from Karsten Kruse, Ned Ludd, Martin Herren and others.
 
-Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {docdate}
-{doctime} from git revision {sys:git rev-parse --short HEAD}
+Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on
 {localdate}
+{localtime} from git revision {sys:git rev-parse --short HEAD}
 
 image::logo.png[]
 
--

1.8.1.2

Signature · 4 lines
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140104/2917bfe3/attachment-0001.html>
#2 lore raw

PATCH 1/1 manual: use current date/time for 'generated on'

In reply to Yann E. MORIN
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]> Currently, the manual uses the last modification date and time of manual.txt in the generated manual.

Quoted 8 lines

This is confusing, especially for long-checked-out repositories where the top-level manual.txt has not changed since the check out. Moreover, the manual explicitly states 'generated on', which is confusing at best.

Use the current date and time instead.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard