From 5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 20 Sep 2020 12:25:55 +0200 Subject: 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 --- src/ucs.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ucs.ml b/src/ucs.ml index 87be568..9e55a8c 100644 --- a/src/ucs.ml +++ b/src/ucs.ml @@ -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) -- cgit v1.2.1