{"id":13612194,"url":"https://github.com/mslinn/jekyll_time_since","last_synced_at":"2026-03-09T04:33:14.016Z","repository":{"id":56899517,"uuid":"478276311","full_name":"mslinn/jekyll_time_since","owner":"mslinn","description":"Jekyll plugin that provides new Liquid filters called years_since, months_since, days_since, hours_since, minutes_since and seconds_since.","archived":false,"fork":false,"pushed_at":"2025-10-03T23:44:56.000Z","size":566,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T21:51:57.690Z","etag":null,"topics":["jekyll","jekyll-tag","time-calculator"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/jekyll_time_since.html","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/mslinn.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}},"created_at":"2022-04-05T19:41:56.000Z","updated_at":"2025-10-03T23:45:00.000Z","dependencies_parsed_at":"2023-11-12T03:23:10.501Z","dependency_job_id":"7f34197f-66e2-428f-8ff8-3e69195d1148","html_url":"https://github.com/mslinn/jekyll_time_since","commit_stats":{"total_commits":81,"total_committers":2,"mean_commits":40.5,"dds":"0.24691358024691357","last_synced_commit":"491aee18371f9fa69d9d6a46157c5d516a3f689d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mslinn/jekyll_time_since","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_time_since","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_time_since/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_time_since/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_time_since/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_time_since/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_time_since/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":["jekyll","jekyll-tag","time-calculator"],"created_at":"2024-08-01T20:00:24.479Z","updated_at":"2026-03-09T04:33:13.995Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":["Text Filters"],"sub_categories":[],"readme":"# `jekyll_time_since` [![Gem Version](https://badge.fury.io/rb/jekyll_time_since.svg)](https://badge.fury.io/rb/jekyll_time_since)\n\n`jekyll_time_since` is a Jekyll plugin that provides new Liquid filters called\n`years_since`, `months_since`, `days_since`, `hours_since`, `minutes_since` and `seconds_since`.\nThe plugin is packaged as a Ruby gem.\n\n\n## Additional Information\n\nMore information is available on Mike Slinn's web site about\n[Jekyll plugins](https://github.com/mslinn/jekyll_time_since).\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :jekyll_plugins do\n  gem 'jekyll_time_since'\nend\n```\n\nAnd then execute:\n\n```shell\n$ bundle\n```\n\n\n## Usage\n\nThese tags all work in a similar manner; they accept one parameter,\nwhich is either a date string (`YYYY-MM-dd`) or an\n[ISO 8601-1:2019](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) datetime string (`YYYY-MM-ddThh:mm`).\nJust a year can be specified, which implies Jan 1 at midnight.\n\nThe date and time strings can be surrounded with quotes, double quotes, or not.\nTime zone can be omitted, or specified as GMT, Z, or +/- HHMM.\n\n```html\n{{ \"1959\" | years_since  }} {{ '1959' | years_since }}\n{{ \"1959-02-03\" | years_since }} {{ '1959-02-03' | years_since }}\n{{ \"1959-02-03T01:02\" | years_since }} {{ '1959-02-03T01:02' | years_since }}\n{{ \"1959-02-03T01:02:00Z\" | years_since }} {{ \"1959-02-03T01:02:00-0400\" | years_since }}\n\n{{ \"1959\" | months_since }} {{ months_since '1959' }}\n{{ \"1959-02-03\" months_since }} {{ '1959-02-03' | months_since }}\n{{ \"1959-02-03T01:02\" | months_since }} {{ '1959-02-03T01:02' | months_since }}\n{{ \"1959-02-03T01:02:00Z\" | months_since }} {{ \"1959-02-03T01:02:00-0400\" | months_since }}\n\n{{ \"1959\" | weeks_since }} {{ '1959' | weeks_since }}\n{{ \"1959-02-03\" | weeks_since }} {{ '1959-02-03' | weeks_since }}\n{{ \"1959-02-03T01:02\" | weeks_since }} {{ '1959-02-03T01:02' | weeks_since }}\n{{ \"1959-02-03T01:02:00Z\" | weeks_since }} {{ \"1959-02-03T01:02:00-0400\" | weeks_since }}\n\n{{ \"1959\" | days_since }} {{ '1959' | days_since }}\n{{ \"1959-02-03\" | days_since }} {{ '1959-02-03' | days_since }}\n{{ \"1959-02-03T01:02\" | days_since }} {{ '1959-02-03T01:02' | days_since }}\n{{ \"1959-02-03T01:02:00Z\" | days_since }} {{ \"1959-02-03T01:02:00-0400\" | days_since }}\n\n{{ \"1959\" | hours_since}} {{ '1959' | hours_since }}\n{{ \"1959-02-03\" | hours_since }} {{ '1959-02-03' | hours_since }}\n{{ \"1959-02-03T01:02\" | hours_since }} {{ '1959-02-03T01:02' | hours_since }}\n{{ \"1959-02-03T01:02:00Z\" | hours_since }} {{ \"1959-02-03T01:02:00-0400\" | hours_since }}\n\n{{ \"1959\" | minutes_since }} {{ '1959' | minutes_since }}\n{{ \"1959-02-03\" | minutes_since }} {{ '1959-02-03' | minutes_since }}\n{{ \"1959-02-03T01:02\" | minutes_since }} {{ '1959-02-03T01:02' | minutes_since }}\n{{ \"1959-02-03T01:02:00Z\" | minutes_since }} {{ \"1959-02-03T01:02:00-0400\" | minutes_since }}\n\n{{ \"1959\" | seconds_since }} {{ '1959' | seconds_since }}\n{{ \"1959-02-03\" | seconds_since }} {{ '1959-02-03' | seconds_since }}\n{{ \"1959-02-03T01:02\" | seconds_since }} {{ '1959-02-03T01:02' | seconds_since }}\n{{ seconds_since \"1959-02-03T01:02:00\" }} {{ seconds_since '1959-02-03T01:02:00' }}\n```\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies.\n\nYou can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n\n### Build and Install Locally\n\nTo build and install this gem onto your local machine, run:\n\n```shell\n$ bundle exec rake install\n```\n\nThe following also does the same thing:\n\n```shell\n$ bundle exec rake install\njekyll_time_since 0.1.0 built to pkg/jekyll_time_since-0.1.0.gem.\njekyll_time_since (0.1.0) installed.\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info jekyll_time_since\n\n*** LOCAL GEMS ***\n\njekyll_time_since (0.1.0)\n    Author: Michael Slinn\n    Homepage: https://github.com/mslinn/jekyll_time_since\n    License: MIT\n    Installed at: /home/mslinn/.gems\n\n    A Jekyll plugin that provides new Liquid tags called years_since, months_since, days_since, hours_since, minutes_since and seconds_since.\n```\n\n\n### Build and Push to RubyGems\n\nTo release a new version,\n\n  1. Update the version number in `version.rb`.\n  2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.\n  3. Run the following:\n\n     ```shell\n     $ bundle exec rake release\n     ```\n\n     The above creates a git tag for the version, commits the created tag,\n     and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).\n\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_time_since","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_time_since","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_time_since/lists"}