Skip to content

Releases: danhunsaker/calends

Command Line Interface!

02 Nov 09:04
Compare
Choose a tag to compare

v0.0.5 brings a new CLI! Folks without a programming background (and those who like to script things!) can use Calends from the comfort of their own command line!

Check the downloads below for your OS and CPU type (if you don't know, it's probably amd64).

Read The Docs!!!!

24 Jul 01:36
Compare
Choose a tag to compare
Read The Docs!!!! Pre-release
Pre-release

This patch-level release doesn't do a whole lot to the functionality, aside from fixing a few very minor issues found during documentation. What it does do is move the documentation to ReadTheDocs, and expand on it greatly. Usage info is now language-specific, and there's new information on adding your own calendar systems. Installation instructions for languages other than Go are provided. And so on. There's even an Index to look up what you need faster.

Oh, and you can also download a copy of the docs for your own use offline or elsewhere. So, there's that, too.

Have a look, and enjoy!

PHP Extension

21 Jul 16:43
Compare
Choose a tag to compare
PHP Extension Pre-release
Pre-release

As promised, PHP support is now here.

I've realized I need much more maintainable and comprehensive documentation, so I'm currently working on that. More info when that releases, soon.

Stardates and C shared libraries

09 Jul 03:48
Compare
Choose a tag to compare
Pre-release

If you're using Go or C, things should be working correctly at the moment. PHP support will be released soon (I hope), and after that several other languages should quickly follow.

Stardates are now supported!

Note that this is a 0.x release, so some things are subject to change without notice as various other languages become properly supported, and various fixes are made.

Initial Port from calends-php

26 Mar 05:03
Compare
Choose a tag to compare
Pre-release

The original version of this library was built in PHP, but as that's not a very portable implementation, and can't be used in other languages, this version was written to replace the other as the primary implementation. The library it creates can be wrapped into a PHP extension, obsoleting the original implementation (partly by being considerably faster), as well as being usable by other languages using their own "external library" access mechanisms.

Completed functionality is indicated in the README, but to summarize:

  • Range and precision
  • Date parsing, date formatting, and offset parsing for the following calendar systems:
    • TAI64 (internal values, out to "roctoseconds")
    • Unix timestamps
    • Gregorian
  • Instants and spans
  • Interfaces for adding calendar systems

Other features are still pending implementation, which is part of why this library is considered to be at a prerelease version.