diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-16 17:41:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-16 17:41:28 +0300 |
commit | e2264d6c34de011753913dd9b447b3d38649619c (patch) | |
tree | 799211a14a4ba8d5a9d3f8d35b71a502a6ff0c3f /mod/mod-build-log.cxx | |
parent | 5163436b00711318baea4fc0ad43a4de8222354a (diff) |
Adjust builds page style
Diffstat (limited to 'mod/mod-build-log.cxx')
-rw-r--r-- | mod/mod-build-log.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mod/mod-build-log.cxx b/mod/mod-build-log.cxx index 687a554..b998f8d 100644 --- a/mod/mod-build-log.cxx +++ b/mod/mod-build-log.cxx @@ -9,6 +9,8 @@ #include <odb/database.hxx> #include <odb/transaction.hxx> +#include <libbutl/timestamp.hxx> // to_stream() + #include <web/module.hxx> #include <libbrep/build.hxx> @@ -208,15 +210,18 @@ handle (request& rq, response& rs) os << "package: " << b->package_name << endl << "version: " << b->package_version << endl - << "config: " << b->configuration << endl << "toolchain: " << b->toolchain_name << '-' << b->toolchain_version << endl + << "config: " << b->configuration << endl << "machine: " << *b->machine << " (" << *b->machine_summary << ")" << endl << "target: " << (i->second->target ? i->second->target->string () - : "default") << endl - << endl; + : "<default>") << endl + << "timestamp: "; + + butl::to_stream (os, b->timestamp, "%Y-%m-%d %H:%M:%S%[.N] %Z", true, true); + os << endl << endl; if (op.empty ()) { |