{"id":23059944,"url":"https://github.com/gpslab/date-bundle","last_synced_at":"2025-10-10T11:05:03.527Z","repository":{"id":62512120,"uuid":"75742790","full_name":"gpslab/date-bundle","owner":"gpslab","description":"Util for DateTime","archived":false,"fork":false,"pushed_at":"2017-12-07T14:33:05.000Z","size":71,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T20:47:36.934Z","etag":null,"topics":["datetime","php","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/gpslab.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":"2016-12-06T15:10:19.000Z","updated_at":"2017-03-31T08:13:17.000Z","dependencies_parsed_at":"2022-11-02T13:02:18.741Z","dependency_job_id":null,"html_url":"https://github.com/gpslab/date-bundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpslab%2Fdate-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpslab%2Fdate-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpslab%2Fdate-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpslab%2Fdate-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpslab","download_url":"https://codeload.github.com/gpslab/date-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952279,"owners_count":20859812,"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":["datetime","php","symfony-bundle"],"created_at":"2024-12-16T03:10:53.826Z","updated_at":"2025-10-10T11:04:58.482Z","avatar_url":"https://github.com/gpslab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://img.shields.io/packagist/v/gpslab/date-bundle.svg?maxAge=3600\u0026label=stable)](https://packagist.org/packages/gpslab/date-bundle)\n[![Total Downloads](https://img.shields.io/packagist/dt/gpslab/date-bundle.svg?maxAge=3600)](https://packagist.org/packages/gpslab/date-bundle)\n[![Build Status](https://img.shields.io/travis/gpslab/date-bundle.svg?maxAge=3600)](https://travis-ci.org/gpslab/date-bundle)\n[![Coverage Status](https://img.shields.io/coveralls/gpslab/date-bundle.svg?maxAge=3600)](https://coveralls.io/github/gpslab/date-bundle?branch=master)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/gpslab/date-bundle.svg?maxAge=3600)](https://scrutinizer-ci.com/g/gpslab/date-bundle/?branch=master)\n[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/e02ff7b3-f7f5-493e-8afc-03317ab7fe8e.svg?maxAge=3600\u0026label=SLInsight)](https://insight.sensiolabs.com/projects/e02ff7b3-f7f5-493e-8afc-03317ab7fe8e)\n[![StyleCI](https://styleci.io/repos/75742790/shield?branch=master)](https://styleci.io/repos/75742790)\n[![License](https://img.shields.io/packagist/l/gpslab/date-bundle.svg?maxAge=3600)](https://github.com/gpslab/date-bundle)\n\nUtil for DateTime and DateTimeZone\n==================================\n\n## Installation\n\nPretty simple with [Composer](http://packagist.org), run:\n\n```sh\ncomposer require gpslab/date-bundle\n```\n\nAdd GpsLabDateBundle to your application kernel\n\n```php\n// app/AppKernel.php\npublic function registerBundles()\n{\n    return array(\n        // ...\n        new GpsLab\\Bundle\\DateBundle\\GpsLabDateBundle(),\n        // ...\n    );\n}\n```\n\n## Configuration\n\n```yml\ngpslab_date:\n    # Is not required\n    # As a default used timezone from date_default_timezone_get()\n    time_zone: 'Europe/Moscow'\n\n    # HTTP Cookie parameters for store user timezone\n    cookie:\n\n        # You can disable use cookie for store user timezone\n        used: true\n\n        # HTTP Cookie variable names\n        # It's a default values\n        name: '_time_zone_name'\n        offset: '_time_zone_offset'\n```\n\n\n## Documentation\n\n * [Installation](docs/installation.md)\n * [Configuration](docs/configuration.md)\n * Usage\n    * [Converter](docs/usage/converter.md)\n    * [Comparator](docs/usage/comparator.md)\n    * [Formatter](docs/usage/formatter.md)\n    * Timezone\n      * [Converter](docs/usage/tz/converter.md)\n      * [Comparator](docs/usage/tz/comparator.md)\n      * [Keeper](docs/usage/tz/keeper.md)\n      * [Custom timezone resolver](docs/usage/tz/resolver.md)\n    * [RoundDate](docs/usage/round_date.md)\n    * [Twig extension](docs/usage/twig.md)\n    * [Util](docs/usage/util.md)\n\n## License\n\nThis bundle is under the [MIT license](http://opensource.org/licenses/MIT). See the complete license in the file: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpslab%2Fdate-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpslab%2Fdate-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpslab%2Fdate-bundle/lists"}