{"id":15032757,"url":"https://github.com/ruby/time","last_synced_at":"2025-05-16T13:06:03.366Z","repository":{"id":39902510,"uuid":"266091897","full_name":"ruby/time","owner":"ruby","description":"Extends the Time class with methods for parsing and conversion","archived":false,"fork":false,"pushed_at":"2025-02-17T12:05:31.000Z","size":224,"stargazers_count":18,"open_issues_count":1,"forks_count":12,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-04-03T11:09:50.086Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2020-05-22T11:16:56.000Z","updated_at":"2025-02-17T12:05:33.000Z","dependencies_parsed_at":"2023-01-31T08:00:56.487Z","dependency_job_id":"1358bc0a-c92b-46e1-8504-591a087064c2","html_url":"https://github.com/ruby/time","commit_stats":{"total_commits":159,"total_committers":27,"mean_commits":5.888888888888889,"dds":0.5849056603773585,"last_synced_commit":"6924f97b2d230f367e1ffb3727963949c5cdd746"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Ftime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Ftime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Ftime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Ftime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564774,"owners_count":21125412,"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":["ruby"],"created_at":"2024-09-24T20:19:22.740Z","updated_at":"2025-04-12T11:49:03.246Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time\n\nWhen 'time' is required, Time is extended with additional methods for parsing\nand converting Times.\n\n## Features\n\nThis library extends the Time class with the following conversions between\ndate strings and Time objects:\n\n* date-time defined by [RFC 2822]\n* HTTP-date defined by [RFC 2616]\n* dateTime defined by XML Schema Part 2: Datatypes ([ISO 8601])\n* various formats handled by Date._parse\n* custom formats handled by Date._strptime\n\n[RFC 2822]: http://www.ietf.org/rfc/rfc2822.txt\n[RFC 2616]: http://www.ietf.org/rfc/rfc2616.txt\n[ISO 8601]: http://www.iso.org/iso/date_and_time_format\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'time'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install time\n\n## Usage\n\nTakes a string representation of a Time and attempts to parse it\nusing a heuristic.\n\n```ruby\nrequire 'time'\n\nTime.parse(\"2010-10-31\") #=\u003e 2010-10-31 00:00:00 -0500\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Ftime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Ftime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Ftime/lists"}