caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANN] Ptime 0.8.0
@ 2015-12-24 22:44 Daniel Bünzli
  0 siblings, 0 replies; only message in thread
From: Daniel Bünzli @ 2015-12-24 22:44 UTC (permalink / raw)
  To: OCaml List, mirageos-devel; +Cc: matthew.thomas.gray, Raphael Proust

Hello,   

It's my pleasure to announce the first release of Ptime, described by:

 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 BSD3 license.


Homepage: http://erratique.ch/software/ptime
API docs: http://erratique.ch/software/ptime/doc/


As usual feedback on the API is welcome and could still slightly change before stabilizing on a 1.0.0 release.

Thanks to Matt Gray for a suggestion about the system time zone offset API that led to better handling of unknown timezone offsets in the library (RFC 3339 has a convention to represent them).

Finally my thanks to Raphaël Proust who provided lodging while this was being worked on this summer.

Happy 1451606400,

Daniel

P.S. The package has been tested on Darwin, Linux 32-bit and 64-bit, it hopefully works on other posix compliant unices out of the box, report if not. Ptime_clock is not yet supported on Windows. It will be at some point; contributions to make that a smaller timestamp are welcome.  









^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-24 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-24 22:44 [Caml-list] [ANN] Ptime 0.8.0 Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).