diff options
author | Alban Gruin | 2020-09-20 12:25:55 +0200 |
---|---|---|
committer | Alban Gruin | 2020-09-20 12:25:55 +0200 |
commit | 5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a (patch) | |
tree | a6859e7f07c83bb4f760af7f926b2f50a242a34e | |
parent | 98c4919dc592f45265ee3a8e1784df7127e3ad78 (diff) |
ucs: set the time zone to local when starting the server
This sets the time zone to local when starting the server to avoid
having timestamps in UTC in the logs.
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
-rw-r--r-- | src/ucs.ml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,4 +56,5 @@ let () = exits = Term.default_exits in Term.(const run $ base_url $ celcat_url $ port $ socket), Term.info "ucs" ~version:"0.1.0" ~doc ~exits in + CalendarLib.Time_Zone.(change Local); Term.(exit @@ eval cmd) |