From 5bd8cbc86ab1236d4e891e0711e9a3623f0c51a7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 3 Apr 2022 18:06:45 -0400 Subject: generated-by header, latex, html, epub - consider, implementation quite messy --- src/doc_reform/meta/metadoc.d | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/doc_reform/meta/metadoc.d') diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d index 194890f..16cc6e7 100644 --- a/src/doc_reform/meta/metadoc.d +++ b/src/doc_reform/meta/metadoc.d @@ -112,10 +112,10 @@ template spineAbstraction() { return program_info.ver; } @trusted string name_and_version() { - return format("%s-%s", - name, - ver, - ); + return program_info.name_and_version; + } + @trusted string name_version_and_compiler() { + return program_info.name_version_and_compiler; } @safe string url_home() { return "https://sisudoc.org"; @@ -126,8 +126,8 @@ template spineAbstraction() { @safe auto compiler() { return program_info.compiler; } - @safe auto stime() { - return Clock.currTime(UTC()).toSimpleString(); + @safe auto time_output_generated() { + return program_info.time_output_generated; } } return Prog_(); -- cgit v1.2.3