README.md

# stardate

[![Package Version](https://img.shields.io/hexpm/v/stardate)](https://hex.pm/packages/stardate)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/stardate/)

```sh
gleam add stardate
```
```gleam
import stardate

pub fn main() {
  io.debug(stardate.to_stardate(2017, 9, 24))
}
```

A little package for converting from common date to stardate.

Further documentation can be found at <https://hexdocs.pm/stardate>.

## Development

```sh
gleam test  # Run the tests
```

## Reference

* Wikihow Stardate Converter: Formula is based on http://www.wikihow.com/Calculate-Stardates
* Inspired by Stardate Converter: https://github.com/zeroturnaround/stardate-converter