{"id":13486386,"url":"https://github.com/yparitcher/libzmanim","last_synced_at":"2025-04-11T16:15:06.856Z","repository":{"id":121677589,"uuid":"137813572","full_name":"yparitcher/libzmanim","owner":"yparitcher","description":"C library for zmanim \u0026 hebrew calendar","archived":false,"fork":false,"pushed_at":"2023-09-03T09:37:30.000Z","size":336,"stargazers_count":13,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T12:21:51.574Z","etag":null,"topics":["c","hebrew-calendar","hebrew-date","jewish","jewish-holidays","zmanim"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yparitcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2018-06-18T22:33:33.000Z","updated_at":"2025-02-03T18:17:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"46b1006a-91a1-4307-b4b3-020989ad8ae0","html_url":"https://github.com/yparitcher/libzmanim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Flibzmanim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Flibzmanim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Flibzmanim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Flibzmanim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yparitcher","download_url":"https://codeload.github.com/yparitcher/libzmanim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438516,"owners_count":21103410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c","hebrew-calendar","hebrew-date","jewish","jewish-holidays","zmanim"],"created_at":"2024-07-31T18:00:44.987Z","updated_at":"2025-04-11T16:15:06.841Z","avatar_url":"https://github.com/yparitcher.png","language":"C","funding_links":[],"categories":["Projects"],"sub_categories":["Zmanim"],"readme":"# Libzmanim\n\na C library for zmanim and hebrew dates\n\na port of [KosherJava/Zmanim](https://github.com/KosherJava/zmanim) developed by Eliyahu Hershfeld. [https://kosherjava.com](https://kosherjava.com)\n\n## Installation\n\nrun ` make` to build the library (shared and static) in the lib folder.\n\nrun `make test` to build a test wrapper (in the test folder) to display the daily zmanim.\n\nthis creates a shared and static library that can be used by including the header files in `include` and linking with `-lzmanim` (you must add the library and headers to your `PATH`)\n\n### Windows\n\nrun window.bat in a VisualStudio command prompt to build `libzmanim.dll` and `test.exe`. This uses the OpenBSD stpncpy.\n\n## Usage\n\nthis library has a new struct `hdate` which is like `struct tm` used to store a date instance in the hebrew calendar.\n\none can initialize the members directly or use the `hdate convertDate(struct tm date)` function to convert a gregorian date, along with other functions in `hebrewcalendar.c` to manipulate it or get yomtov parshah etc.\n\nfor more documentation read the header files.\n\nto format the date in hebrew use the functions in `hdateformat.h`.\n\none can then use this `hdate` along with the `location` struct (lat, long, elevation) in one of the getzmanim functions in `zmanim.h` that return a `hdate` with the correct zman.\n\nfor further examples see the test.c file that implements a basic wrapper to show daily zmanim\n\n### Test usage\n\n./test year month day latitude longitude timezone Eretz_Yisroel\n```\n./test 2018 12 18 40.66896 -73.94284 -4.0 0\n\n               י טבת תשע״ט\n               עשרה בטבת\n               פרשת ויחי\nalos:               05:41 AM EST\nmisheyakir:         06:19 AM EST\nsunrise:            07:14 AM EST\nshma:               09:31 AM EST\ntefila:             10:18 AM EST\nchatzos:            11:52 AM EST\nmincha gedola:      12:15 PM EST\nmincha ketana:      02:37 PM EST\nplag hamincha:      03:36 PM EST\nsunset:             04:30 PM EST\ntzais:              05:01 PM EST\n```\n\nnote: due to the limitations of the C standard library all times will show as if they in the computers timezone even though they are correctly calculated in the given timezone.\n\n## License\nLibzmanim is Copyright (c) 2018 [Yparitcher](https://github.com/yparitcher).\nlicensed under the [LGPL 2.1](https://opensource.org/licenses/LGPL-2.1) license. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyparitcher%2Flibzmanim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyparitcher%2Flibzmanim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyparitcher%2Flibzmanim/lists"}