{"id":21615651,"url":"https://github.com/noesya/i18n_date_range","last_synced_at":"2026-01-18T08:30:37.787Z","repository":{"id":193501935,"uuid":"688903077","full_name":"noesya/i18n_date_range","owner":"noesya","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-02T02:13:09.000Z","size":66,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-26T11:51:35.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/noesya.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-09-08T10:51:35.000Z","updated_at":"2024-05-24T15:50:05.000Z","dependencies_parsed_at":"2023-09-08T13:25:52.104Z","dependency_job_id":"647aba31-5d8c-475d-a15a-dc2a0bcb3496","html_url":"https://github.com/noesya/i18n_date_range","commit_stats":null,"previous_names":["noesya/i18n_date_range"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/noesya/i18n_date_range","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noesya%2Fi18n_date_range","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noesya%2Fi18n_date_range/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noesya%2Fi18n_date_range/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noesya%2Fi18n_date_range/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noesya","download_url":"https://codeload.github.com/noesya/i18n_date_range/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noesya%2Fi18n_date_range/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":[],"created_at":"2024-11-24T22:12:25.955Z","updated_at":"2026-01-18T08:30:32.779Z","avatar_url":"https://github.com/noesya.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I18nDateRange\n\nThe purpose of this gem is to add a helper needed to display proper Date range informations.  \nFor example: \"Du 3 au 5 octobre 2024\" or \"Du 3 octobre 2023 au 12 janvier 2024\"\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'i18n_date_range'\n```\n\nAnd then execute:\n\n    $ bundle install\n\n## Usage\n\nThis gem comes with an integrated view helper: `date_range_i18n` which takes 3 parameters:\n- date_from\n- date_to (optional)\n- a hash of additional formatting options(optional) \n\nThe options hash currently support 2 arguments:\n- format: can be `:short` or `:long` (default is :short)\n- layout: can be `:one_line`or `:two_lines` (default is :one_line)\n\n\"Short\" format means without the explicit day name (September 8, 2024).  \n\"Long\" format means with it (Friday, September 8, 2024).  \n\n\"One line\" layout means the string will be displayed on one line only (From September 8, 2024 to September 8, 2025)\n\"Two lines\" layout means the result will be displayed on 2 lines,separated with `\u003cbr\u003e` (September 8, 2024\u003cbr\u003eSeptember 8, 2025)\n\n## Change texts or formats\n\nThis gem is based on I18n. Feel free to overwrite any key you want.  \nRefer to [config/locales/fr.yml](config/locales/fr.yml) to see what can be edited.\n\n## Tests\n\nTests are done with RSpec, and Combustion is used to simulate the Rails app.\nRubocop is used to check the syntax.\n\n- `bundle exec rspec` to launch the tests\n- `rake rubocop` to launch Rubocop\n- `rake` to launch both (default)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/noesya/i18n_date_range.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Bibliography\n\nhttps://coderwall.com/p/fkg-ng/display-date-ranges-in-text-in-rails","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoesya%2Fi18n_date_range","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoesya%2Fi18n_date_range","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoesya%2Fi18n_date_range/lists"}