Skip to content

Commit

Permalink
time: clarify Eio.Time.now is UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
bikallem authored and talex5 committed Dec 20, 2022
1 parent 335c575 commit 16f79c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_eio/time.mli
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class virtual clock : object
end

val now : #clock -> float
(** [now t] is the current time according to [t]. *)
(** [now t] is the current time since 00:00:00 GMT, Jan. 1, 1970 - in seconds - according to [t]. *)

val sleep_until : #clock -> float -> unit
(** [sleep_until t time] waits until the given time is reached. *)
Expand Down

0 comments on commit 16f79c8

Please sign in to comment.