ptime
POSIX time for OCaml
Description
Ptime has platform independent POSIX time support in pure OCaml. It provides a type to represent a well-defined range of POSIX timestamps with picosecond precision, conversion with date-time values, conversion with RFC 3339 timestamps and pretty printing to a human-readable, locale-independent representation.
The additional Ptime_clock library provides access to a system POSIX clock and to the system's current time zone offset.
Ptime is not a calendar library.
Ptime depends on the result
compatibility package. Ptime_clock
depends on your system library. Ptime_clock's optional JavaScript
support depends on js_of_ocaml. Ptime and its libraries are
distributed under the ISC license.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 04 May 2019
- Authors
- Maintainers
Sources
Dependencies
Reverse Dependencies
asn1-combinators
>= "0.2.0"
aws-s3
>= "4.0.0"
calculon
>= "0.8"
capnp-rpc-lwt
>= "0.3.1" & < "0.5.0"
certify
>= "0.2"
conduit-mirage
< "2.1.0"
conformist
>= "0.5.0"
crunch
>= "3.0.0"
current_github
>= "0.5"
dns
>= "4.0.0"
dream
>= "1.0.0~alpha3"
functoria
>= "2.2.2" & < "4.0.0~beta1"
git-mirage
>= "3.7.0"
git-unix
>= "3.3.0"
jupyter-kernel
>= "0.8"
little_logger
>= "0.2.0"
mastodon-archive-viewer
< "0.4.0"
mirage-fs-unix
>= "1.3.0"
mirage-logs
>= "0.3.0"
opium
>= "0.19.0"
plebeia
< "2.0.0"
rdf
>= "0.12.0"
river
>= "0.2"
slacko
>= "0.15.0"
stog
>= "0.17.0"
syndic
>= "1.5"
tar-mirage
>= "1.1.0"
tezos-base
< "13.0"
tezos-stdlib-unix
< "13.0"
timere
< "0.4.0"
timere-parse
< "0.0.5"
tiny_httpd
>= "0.9"
tls
= "0.8.0" | >= "0.11.0"
webmachine
>= "0.6.0"
x509
>= "0.6.0"
Conflicts
js_of_ocaml
< "3.3.0"