{"id":20773848,"url":"https://github.com/neurocracy/drupal-omnipedia-date","last_synced_at":"2026-04-29T05:02:47.833Z","repository":{"id":49339431,"uuid":"503758005","full_name":"neurocracy/drupal-omnipedia-date","owner":"neurocracy","description":"Provides the simulated date framework and related functionality for Omnipedia.","archived":false,"fork":false,"pushed_at":"2026-01-28T00:28:37.000Z","size":217,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"5.x","last_synced_at":"2026-01-28T11:19:40.804Z","etag":null,"topics":["drupal","drupal-module","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurocracy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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-06-15T12:34:44.000Z","updated_at":"2026-01-28T00:28:41.000Z","dependencies_parsed_at":"2023-12-23T04:25:52.145Z","dependency_job_id":"5257a259-77b5-418b-9d96-4bdeb1d3c43b","html_url":"https://github.com/neurocracy/drupal-omnipedia-date","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neurocracy/drupal-omnipedia-date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurocracy","download_url":"https://codeload.github.com/neurocracy/drupal-omnipedia-date/tar.gz/refs/heads/5.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-date/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32411547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T03:46:11.172Z","status":"ssl_error","status_checked_at":"2026-04-29T03:37:55.317Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["drupal","drupal-module","php"],"created_at":"2024-11-17T12:27:28.376Z","updated_at":"2026-04-29T05:02:47.828Z","avatar_url":"https://github.com/neurocracy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This contains the source files for the \"*Omnipedia - Date*\" Drupal module, which\nprovides the simulated date framework and related functionality for\n[Omnipedia](https://omnipedia.app/).\n\n⚠️ ***[Why open source? / Spoiler warning](https://omnipedia.app/open-source)***\n\n*Please note that [all development and issue tracking is done on \u003cimg src=\"https://gitlab.com/neurocracy/omnipedia/omnipedia/-/raw/main/docs/assets/gitlab/gitlab-logo.svg\" alt=\"The GitLab logo\" width=\"16\" height=\"16\"\u003e GitLab](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date).*\n\n----\n\n# Description\n\nThis contains most of the logic that underpins the simulated date/revision\nsystem for Omnipedia. It includes services, event subscribers, a cache context,\nand various plug-ins related to the date system, including a field type, widget,\nand formatters.\n\nNote that this does not does not contain the framework to manage the simulated\nwiki pages (Drupal nodes) themselves; that can be found in the [`omnipedia_core`\nmodule](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-core).\n\n----\n\n# Requirements\n\n* [Drupal 10.5 or 11.2](https://www.drupal.org/download)\n\n* PHP 8.2\n\n* [Composer](https://getcomposer.org/)\n\n## Drupal dependencies\n\nFollow the Composer installation instructions for these dependencies first:\n\n* The [`omnipedia_core` module](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-core).\n\n----\n\n# Installation\n\n## Composer\n\n### Set up\n\nEnsure that you have your Drupal installation set up with the correct Composer\ninstaller types such as those provided by [the `drupal/recommended-project`\ntemplate](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates#s-drupalrecommended-project).\nIf you're starting from scratch, simply requiring that template and following\n[the Drupal.org Composer\ndocumentation](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates)\nshould get you up and running.\n\n### Repository\n\nIn your root `composer.json`, add the following to the `\"repositories\"` section:\n\n```json\n{\n  \"type\": \"vcs\",\n  \"url\": \"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date.git\",\n  \"only\": [\"drupal/omnipedia_date\"]\n}\n```\n\n### Installing\n\nOnce you've completed all of the above, run `composer require\n\"drupal/omnipedia_date:^4.0@dev\"` in the root of your project to have\nComposer install this and its required dependencies for you.\n\n----\n\n# Major breaking changes\n\nThe following major version bumps indicate breaking changes:\n\n* 4.x:\n\n  * Requires Drupal 9.5 or [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0) with compatibility and deprecation fixes for the latter.\n\n  * Requires PHP 8.1.\n\n  * Increases minimum version of [Hook Event Dispatcher](https://www.drupal.org/project/hook_event_dispatcher) to 3.1, removes deprecated code, and adds support for 4.0 which supports Drupal 10.\n\n* 5.x:\n\n  * This heavily refactors the underlying functionality of the Timeline service into smaller services, plug-ins, and other classes. Most of these don't change backwards compatibility, but a number of parameters and return values have changed slightly.\n\n  * Removed the [`Timeline`](src/Service/Timeline.php) class date constants; these have been moved to [`Plugin\\Omnipedia\\Date\\OmnipediaDateInterface`](src/Plugin/Omnipedia/Date/OmnipediaDateInterface.php).\n\n  * `Timeline::getDateObject()` is now a protected method; this wasn't used in other modules, and all uses of it in this module have been replaced with other, more specific services.\n\n  * `Service\\TimelineInterface::setCurrentDate()` has been removed; use [`Service\\CurrentDateInterface::set()`](src/Service/CurrentDateInterface.php) instead.\n\n  * `Service\\TimelineInterface::findDefinedDates()` has been removed; use [`Service\\DefinedDatesInterface::find()`](src/Service/DefinedDatesInterface.php) instead.\n\n  * `Service\\TimelineInterface::setDefaultDate()` has been removed; use [`Service\\DefaultDateInterface::set()`](src/Service/DefaultDateInterface.php) instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-date/lists"}