Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 months ago
JSON representation
:card_index: Utility with red days and flag flying days + calendar package for Go
- Host: GitHub
- URL: https://github.com/xyproto/kal
- Owner: xyproto
- License: bsd-3-clause
- Created: 2013-05-07T14:20:30.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T10:19:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T15:25:21.049Z (3 months ago)
- Topics: calendar, cli, easter, go, holidays, intervals, notable-days, utility
- Language: Go
- Homepage:
- Size: 2.82 MB
- Stars: 12
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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]>