{"id":19467162,"url":"https://github.com/swordray/datetime_tag_helper","last_synced_at":"2026-05-19T14:36:12.075Z","repository":{"id":15127393,"uuid":"17854469","full_name":"swordray/datetime_tag_helper","owner":"swordray","description":"ActionView Datetime Tag Helper","archived":false,"fork":false,"pushed_at":"2022-01-26T03:12:22.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T04:32:21.025Z","etag":null,"topics":["actionview","rails","ruby"],"latest_commit_sha":null,"homepage":"","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/swordray.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":"2014-03-18T05:06:30.000Z","updated_at":"2023-02-15T07:13:03.000Z","dependencies_parsed_at":"2022-07-22T12:49:33.572Z","dependency_job_id":null,"html_url":"https://github.com/swordray/datetime_tag_helper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fdatetime_tag_helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fdatetime_tag_helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fdatetime_tag_helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fdatetime_tag_helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swordray","download_url":"https://codeload.github.com/swordray/datetime_tag_helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240680827,"owners_count":19840314,"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":["actionview","rails","ruby"],"created_at":"2024-11-10T18:33:41.559Z","updated_at":"2026-05-19T14:36:12.028Z","avatar_url":"https://github.com/swordray.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# datetime_tag_helper\n\n[![Gem Version](https://badge.fury.io/rb/datetime_tag_helper.png)](http://badge.fury.io/rb/datetime_tag_helper) [![Build Status](https://secure.travis-ci.org/swordray/datetime_tag_helper.png?branch=master)](http://travis-ci.org/swordray/datetime_tag_helper) [![Dependency Status](https://gemnasium.com/swordray/datetime_tag_helper.png?travis)](https://gemnasium.com/swordray/datetime_tag_helper) [![Code Climate](https://codeclimate.com/github/swordray/datetime_tag_helper.png)](https://codeclimate.com/github/swordray/datetime_tag_helper)\n\nActionView Datetime Tag Helper\n\n## Requirements\n\n* Ruby ~\u003e 2.0\n* Rails\n\n## Installation\n\nInclude the gem in your Gemfile:\n\n```ruby\ngem 'datetime_tag_helper'\n```\n\n## Usage\n\n```ruby\ndatetime_tag(time)\n```\n\n## Examples\n\n```ruby\n= datetime_tag Time.now\n# =\u003e \u003cspan title=\"2014-03-18 19:24:24\" class=\"datetime datetime_ago\"\u003eless than a minute\u003c/span\u003e\n```\n```ruby\n= datetime_tag 5.hours.ago\n# =\u003e \u003cspan title=\"2014-03-18 06:24:24\" class=\"datetime datetime_ago\"\u003eabout 5 hours\u003c/span\u003e\n```\n```ruby\n= datetime_tag 3.days.from_now\n# =\u003e \u003cspan title=\"2014-03-21 11:24:24\" class=\"datetime datetime_from_now\"\u003e3 days\u003c/span\u003e\n```\n\n## Sponsors\n\n* [BaiLu ShuYuan](https://bailushuyuan.org)\n\n## License\n\nCopyright © 2014 Jianqiu Xiao \u003cswordray@gmail.com\u003e under The [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fdatetime_tag_helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswordray%2Fdatetime_tag_helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fdatetime_tag_helper/lists"}