Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xyproto/kal

:card_index: Utility with red days and flag flying days + calendar package for Go
https://github.com/xyproto/kal

calendar cli easter go holidays intervals notable-days utility

Last synced: 2 days ago
JSON representation

:card_index: Utility with red days and flag flying days + calendar package for Go

Awesome Lists containing this project

README

        

# Kal [![GoDoc](https://godoc.org/github.com/xyproto/kal?status.svg)](http://godoc.org/github.com/xyproto/kal) [![License](http://img.shields.io/badge/license-BSD-green.svg?style=flat)](https://raw.githubusercontent.com/xyproto/kal/master/LICENSE)

Package for finding public holidays, easter, notable days, equinoxes, solstices and flag flying days. Deals with dates and intervals between dates.

## Online API documentation

* [godoc.org](http://godoc.org/github.com/xyproto/kal)

## Features and limitations

* Provides a collection of functions for dealing with dates, intervals between dates and special days like winter solstice.
* Provides functions for finding public holidays ("red days"), easter, notable days, equinoxes, solstices and flag flying days, for some calendars (every country may have different flag flying days).
* Currently, public holidays and flag flying days have only been implemented for USA, Norway and Turkey, but pull requests are welcome!

## Kal utility

### Screenshots

#### en_US

![en_US](img/us.png)

#### nb_NO

![nb_NO](img/nb.png)

#### tr_TR

![tr_TR](img/tr.png)

### Installation

With Go 1.17 or later:

go install github.com/xyproto/kal/cmd/kal@latest

## General information

* Version: 1.3.0
* License: BSD-3
* Author: Alexander F. Rødseth <[email protected]>