{"id":24206716,"url":"https://github.com/ziaa/pelican_persian_date","last_synced_at":"2025-08-30T22:12:09.114Z","repository":{"id":35457680,"uuid":"39725110","full_name":"ziaa/pelican_persian_date","owner":"ziaa","description":"Pelican plug-in for adding Persian dates (from Jalali calendar) into articles","archived":false,"fork":false,"pushed_at":"2015-08-06T12:46:17.000Z","size":196,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T10:32:40.316Z","etag":null,"topics":["calendar","jalali-calendar","khorshidi","pelican-plugins","persian-calendar","shamsi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziaa.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}},"created_at":"2015-07-26T12:41:42.000Z","updated_at":"2024-05-10T23:12:48.000Z","dependencies_parsed_at":"2022-08-29T07:00:28.682Z","dependency_job_id":null,"html_url":"https://github.com/ziaa/pelican_persian_date","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ziaa/pelican_persian_date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziaa%2Fpelican_persian_date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziaa%2Fpelican_persian_date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziaa%2Fpelican_persian_date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziaa%2Fpelican_persian_date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziaa","download_url":"https://codeload.github.com/ziaa/pelican_persian_date/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziaa%2Fpelican_persian_date/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272913598,"owners_count":25014302,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["calendar","jalali-calendar","khorshidi","pelican-plugins","persian-calendar","shamsi"],"created_at":"2025-01-14T00:37:40.142Z","updated_at":"2025-08-30T22:12:09.073Z","avatar_url":"https://github.com/ziaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pelican Persian date plugin\nThis is a [Pelican](http://getpelican.com) (Static Site Generator) plugin.\n\nThis plugin converts `article.locale_date` attribute\nfrom Gregorian calendar into [Solar Hijri calendar](https://en.wikipedia.org/wiki/Solar_Hijri_calendar) (AKA Jalali calendar, Persian calendar, Iranian calendar) which is the official calendar of Iran and Afghanistan.\n\n## Screenshot\n* Output HTML result with Pelican's `notmyidea` theme\n\n![Persian date screenshot](./Pelican_Persian_Date_screenshot1.PNG \"Pelican Persian date plugin screenshot\")\n\n* Output HTML result with [Pelican-RTL-theme](https://github.com/ziaa/Pelican-RTL-theme/)\n\n![Persian date screenshot](./Pelican_Persian_Date_screenshot2.PNG \"Pelican Persian date plugin screenshot\")\n## Installation\n1. Get the plugin in any way which is convenient for you. for example:\n\t* Clone the repository into `plugins` directory\n\t```\n\tgit clone https://github.com/ziaa/pelican_persian_date.git\n\t```\n\t* Or add the repository as a submodule in `plugins` directory\n\t```\n\tgit submodule add -b master https://github.com/ziaa/pelican_persian_date.git plugins/pelican_persian_date\n\t```\n2. Activate the plugin in your `pelicanconf.py` setting file\n(more information on using pelican plugins [+](http://docs.getpelican.com/en/latest/plugins.html#how-to-use-plugins)\n[+](https://github.com/getpelican/pelican-plugins#how-to-use-plugins))\n\n  ```\n  # Plugins\n  PLUGIN_PATHS = ['path/to/plugins']\n  PLUGINS = [\"pelican_persian_date\"]\n  ```\n\n3. Define date format in `pelicanconf.py` ([more information on format codes](https://docs.python.org/3.4/library/datetime.html?highlight=datetime#strftime-and-strptime-behavior))\n```\nDATE_FORMATS = {\n    'fa': '%A %d %B %Y'\n}\n```\n\n## Requirement \u0026 testing environment\nI'm using this plugin on **Windows** with **Python v3.4.3** \u0026 **Pelican v3.6.0** installed.\nPerhaps it will work on other platforms \u0026 versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziaa%2Fpelican_persian_date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziaa%2Fpelican_persian_date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziaa%2Fpelican_persian_date/lists"}