Releases: danhunsaker/calends
Command Line Interface!
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!!!!
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
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
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
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.