{"id":13801287,"url":"https://github.com/luciolucio/holi","last_synced_at":"2026-02-19T07:03:09.404Z","repository":{"id":54397699,"uuid":"522252346","full_name":"luciolucio/holi","owner":"luciolucio","description":"A library for calendar operations that are aware of weekends and holidays","archived":false,"fork":false,"pushed_at":"2026-01-22T04:17:51.000Z","size":1480,"stargazers_count":5,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-01T08:42:32.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luciolucio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-07T15:36:49.000Z","updated_at":"2025-10-06T14:53:36.000Z","dependencies_parsed_at":"2023-02-18T10:15:35.537Z","dependency_job_id":"5a1c0f64-37a4-4eb7-897d-95be5a6f30d0","html_url":"https://github.com/luciolucio/holi","commit_stats":{"total_commits":414,"total_committers":1,"mean_commits":414.0,"dds":0.0,"last_synced_commit":"826e0bf3965d4eb5e6467748b431fb7a21f08812"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/luciolucio/holi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luciolucio%2Fholi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luciolucio%2Fholi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luciolucio%2Fholi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luciolucio%2Fholi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luciolucio","download_url":"https://codeload.github.com/luciolucio/holi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luciolucio%2Fholi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:21.247Z","updated_at":"2026-02-19T07:03:09.382Z","avatar_url":"https://github.com/luciolucio.png","language":"Clojure","funding_links":[],"categories":["Date and Time"],"sub_categories":[],"readme":"# Holi\n\nA library for calendar operations that are aware of weekends and holidays\n\n[![build](https://github.com/luciolucio/holi/workflows/build-and-test/badge.svg)](https://github.com/luciolucio/holi/actions/workflows/build-and-test.yml)\n[![Clojars Project](https://img.shields.io/clojars/v/io.github.luciolucio/holi.svg)](https://clojars.org/io.github.luciolucio/holi)\n[![cljdoc badge](https://cljdoc.org/badge/io.github.luciolucio/holi)](https://cljdoc.org/d/io.github.luciolucio/holi)\n\n## Examples\n\n```clojure\n(ns my-app\n  (:require [luciolucio.holi :as holi]\n            [tick.core :as t]))\n\n;      July 2019\n; Su Mo Tu We Th Fr Sa\n;     1  2  3  4  5  6\n;  7  8  9 10 11 12 13\n; 14 15 16 17 18 19 20\n; 21 22 23 24 25 26 27\n; 28 29 30 31\n\n(holi/add (t/date \"2019-07-12\") 3 :business-days) ; 2020-07-17 (skips weekends)\n(holi/add (t/date \"2019-07-03\") 1 :business-days \"US\") ; 2019-07-05 (skips 4th of July as a US holiday)\n\n(holi/weekend? (t/date \"2019-07-06\")) ; -\u003e true\n(holi/holiday? (t/date \"2019-07-04\") \"US\") ; -\u003e true\n```\n\nUse of [juxt/tick](https://github.com/juxt/tick) is not required (but highly recommended).\n\n## Features\n\n* Standard calendar operations (e.g. `add 5 days`) that are aware of weekends and holidays to skip those when requested\n* Boolean fns that check individual dates (`weekend?`, `holiday?`, `business-day?` and `non-business-day?`)\n* List holidays for a certain year, or a specific date\n* Non-standard weekends (supports sat/sun and fri/sat)\n* Clojure and ClojureScript\n* Customize holidays if needed\n\n## Disclaimer\n\nHolidays in holi have been put together to the best of the author's knowledge, and are not guaranteed to be neither\ncorrect, complete nor historically accurate. You are encouraged to double-check\nthe [calendar showcase](https://luciolucio.github.io/holi/), the `.hol` files and perhaps the source to see if the\ncalendar you want to use fits your use case. If you think there's a mistake in a calendar,\nsee [I found a problem](#i-found-a-problem) below.\n\n## Install\n\nImport the latest version from [Clojars](https://clojars.org/io.github.luciolucio/holi) into your project dependencies.\n\nClojureScript is supported, but holi has only been tested when built with shadow-cljs and run on a\nbrowser. It should still work otherwise, but if you have issues with other setups feel free to hit me up\non [Slack](http://clojurians.slack.com): `@Lucio Assis`\n\n## Docs\n\n[Full holi documentation](https://cljdoc.org/d/io.github.luciolucio/holi/CURRENT)\n\n## I found a problem\n\nContribute a fix, or a new calendar to the project - see [CONTRIBUTING.md](CONTRIBUTING.md). You can also just let me\nknow on [Slack](http://clojurians.slack.com): `@Lucio Assis` and I'll try my best to fix it timely.\n\n## I want custom holidays\n\nLearn how\nto [build yourself a custom library](https://cljdoc.org/d/io.github.luciolucio/holi/1.1.0/doc/custom-holidays), with\nyour own holiday calendars.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluciolucio%2Fholi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluciolucio%2Fholi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluciolucio%2Fholi/lists"}