package ago

Not available on OCaml 5.5
  1. Overview
  2. Docs
ago(1) - compute the number of days between two calendar dates

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ago-0.4.tar.gz
sha256=c48e7bdc2fce725de8cbcfbc115d2b98b24f7a63ec3117b708b375907465a727
md5=47570c717eabb5b8061dec162be8dca0

Description

Ago computes the difference in days between two calendar dates provided as arguments. If just one date is given, the current date is taken as the second one.

Added to opam-repository:

README

README

Ago is a small command line utility to compute the number of days between two calendar dates. If just one date is given, the current date is assumed for the second one.

    $ ago 2014-12-10 
-123

$ ago 2014-10-11 2014-12-04
-54

Installation

I recommend to compile and install ago via Opam, the OCaml packaging manager:

opam install ago

This installs a binary and a manual page which you can read as usual with man ago. Please note that the version on Opam might be slightly behind this repository.

Building

Ago is implemented in OCaml. It does not rely on libraries outside of the standard library and was developed with OCaml 4.02.1.

jbuilder build

Documentation

The ago utility comes with a Unix manual part which is installed by the install target. It is built from ago.pod in the repository.

License

BSD License. See LICENSE.md.

Author

Christian Lindig lindig@gmail.com

Opam Description

ago(1) - compute the number of days between two calendar dates

Ago computes the difference in days between two calendar dates provided as arguments. If just one date is given, the current date is taken as the second one.

Dependencies (2)

  1. jbuilder >= "1.0+beta7"
  2. ocaml

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building ago with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4 (this version) good good n/a n/a n/a
0.3 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure