better relative time
This commit is contained in:
parent
0e46ea162a
commit
262aeaec66
8 changed files with 115 additions and 89 deletions
|
|
@ -7,6 +7,15 @@
|
|||
type t = Ptime.t option
|
||||
type span = Ptime.Span.t option
|
||||
|
||||
module Span : sig
|
||||
type t = span
|
||||
|
||||
val jsont : t Jsont.t
|
||||
val bin : t Bin.t
|
||||
val bin_nbo : t Bin.t
|
||||
val caqti : t Caqti_type.t
|
||||
end
|
||||
|
||||
val diff : t -> t -> span
|
||||
val add_span_exn : t -> span -> t
|
||||
val of_span_exn : span -> t
|
||||
|
|
@ -16,4 +25,4 @@ val compare : t -> t -> int option
|
|||
val jsont : t Jsont.t
|
||||
val bin : t Bin.t
|
||||
val bin_nbo : t Bin.t
|
||||
val caqti : Ptime.t option Caqti_type.t
|
||||
val caqti : t Caqti_type.t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue