We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d76583 commit d68f9f3Copy full SHA for d68f9f3
ocaml/libs/clock/date.ml
@@ -10,6 +10,8 @@
10
GNU Lesser General Public License for more details.
11
*)
12
13
+module L = Debug.Make (struct let name = __MODULE__ end)
14
+
15
let months =
16
[|
17
"Jan"
@@ -109,8 +111,7 @@ let to_rfc822 {t; tz} =
109
111
110
112
let to_ptime = function
113
| {t; tz= None} as d ->
- Printf.printf
- "%s: Date %s converted to POSIX time, but timezone is missing"
114
+ L.warn "%s: Date %s converted to POSIX time, but timezone is missing"
115
__FUNCTION__ (to_rfc3339 d) ;
116
t
117
| {t; tz= Some _} ->
ocaml/libs/clock/dune
@@ -8,6 +8,7 @@
8
mtime.clock.os
9
(re_export ptime)
ptime.clock.os
+ xapi-log
)
0 commit comments