{"id":21356337,"url":"https://github.com/muhammadmabrouk/jquery-hijri-date","last_synced_at":"2025-07-13T00:31:06.319Z","repository":{"id":57282145,"uuid":"338670012","full_name":"MuhammadMabrouk/jquery-hijri-date","owner":"MuhammadMabrouk","description":"A small jQuery plugin to display Hijri date","archived":false,"fork":false,"pushed_at":"2021-09-21T14:23:30.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T04:52:49.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MuhammadMabrouk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-13T21:07:53.000Z","updated_at":"2023-03-18T11:40:07.000Z","dependencies_parsed_at":"2022-09-18T21:05:24.730Z","dependency_job_id":null,"html_url":"https://github.com/MuhammadMabrouk/jquery-hijri-date","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MuhammadMabrouk/jquery-hijri-date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadMabrouk%2Fjquery-hijri-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadMabrouk%2Fjquery-hijri-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadMabrouk%2Fjquery-hijri-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadMabrouk%2Fjquery-hijri-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuhammadMabrouk","download_url":"https://codeload.github.com/MuhammadMabrouk/jquery-hijri-date/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadMabrouk%2Fjquery-hijri-date/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265075470,"owners_count":23707509,"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":[],"created_at":"2024-11-22T04:30:30.755Z","updated_at":"2025-07-13T00:31:05.341Z","avatar_url":"https://github.com/MuhammadMabrouk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery-hijri-date\n\nA small jQuery plugin to display Hijri date.\n\n\n### Install\n\n```sh\n$ npm install jquery-hijri-date --save\n```\n\nor\n\n```html\n\u003c!-- jquery file --\u003e\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- jquery-hijri-date file --\u003e\n\u003cscript src=\"jquery.hijri.date.min.js\"\u003e\u003c/script\u003e\n```\n\n### Examples:\n\n```html\n\u003c!-- date will be displayed here --\u003e\n\u003cdiv class=\"my-date\"\u003e\u003c/div\u003e\n```\n\n\u003cbr\u003e\n\n**1- Default:**\n```javascript\n$('.my-date').hijriDate();\n```\n\n![alt text](https://drive.google.com/uc?export=view\u0026id=1ZrjM9_FlGJeP2mUpKjm0-cr64JNsKC0a \"Hijri Date Default\")\n\n### Options:\n| Prop | Type | Description | Default |\n| ----------- |    :----:   | ----------- |    :----:   |\n| showWeekDay | `boolean` | Set to `true` or `false` to show or hide the day of the week. | `true` |\n| showGregDate | `boolean` | Set to `true` or `false` to show or hide the Gregorian date. | `false` |\n| separator | `string` | The separator symbol that appears between the Hijri and Gregorian dates. | `'-'` |\n| weekDayLang | `'ar'` \u0026#124; `'en'` | Determine the language for printing the day of the week. | `'ar'` |\n| hijriLang | `'ar'` \u0026#124; `'en'` | Determine the language for printing the Hijri date. | `'ar'` |\n| gregLang | `'ar'` \u0026#124; `'en'` | Determine the language for printing the Gregorian date. | `'ar'` |\n| correction | `number` | Add or subtract one or more days until you get the correct date. | `0` |\n\n\u003cbr\u003e\n\n**2- Customized:**\n```javascript\n$('.my-date').hijriDate({\n  showWeekDay: true,\n  showGregDate: true,\n  separator: '\u0026nbsp;|\u0026nbsp;',\n  weekDayLang: 'en',\n  hijriLang: 'en',\n  gregLang: 'en',\n  correction: +1\n});\n```\n\n\u003cbr\u003e\n\n![alt text](https://drive.google.com/uc?export=view\u0026id=1dcGBZ3ku06dugh0Qj4RkBaaIBpAdlHG_ \"Customized\")\n\n\u003cbr\u003e\u003cbr\u003e\n\n### License\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammadmabrouk%2Fjquery-hijri-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammadmabrouk%2Fjquery-hijri-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammadmabrouk%2Fjquery-hijri-date/lists"}