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-repository-root.cxx | |
parent | 5163436b00711318baea4fc0ad43a4de8222354a (diff) |
Adjust builds page style
Diffstat (limited to 'mod/mod-repository-root.cxx')
-rw-r--r-- | mod/mod-repository-root.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/mod-repository-root.cxx b/mod/mod-repository-root.cxx index cb0b82f..c661b91 100644 --- a/mod/mod-repository-root.cxx +++ b/mod/mod-repository-root.cxx @@ -4,6 +4,8 @@ #include <mod/mod-repository-root.hxx> +#include <time.h> // tzset() + #include <sstream> #include <web/module.hxx> @@ -193,6 +195,11 @@ namespace brep if (options_->root ().empty ()) options_->root (dir_path ("/")); + + // To use libbutl timestamp printing functions later on (specifically in + // sub-modules, while handling requests). + // + tzset (); } bool repository_root:: |