{"id":16935428,"url":"https://github.com/knu/sidetiq-timezone","last_synced_at":"2025-04-11T18:54:01.421Z","repository":{"id":27927223,"uuid":"31419533","full_name":"knu/sidetiq-timezone","owner":"knu","description":"Time zone for Sidetiq","archived":false,"fork":false,"pushed_at":"2016-12-16T06:44:27.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T14:51:15.754Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-27T13:07:10.000Z","updated_at":"2019-09-27T07:56:50.000Z","dependencies_parsed_at":"2022-08-20T06:40:15.365Z","dependency_job_id":null,"html_url":"https://github.com/knu/sidetiq-timezone","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/knu%2Fsidetiq-timezone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fsidetiq-timezone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fsidetiq-timezone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fsidetiq-timezone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/sidetiq-timezone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248464656,"owners_count":21108238,"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":[],"created_at":"2024-10-13T20:54:30.981Z","updated_at":"2025-04-11T18:54:01.397Z","avatar_url":"https://github.com/knu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sidetiq::Timezone\n\nThis library makes Sidetiq use the application time zone instead of\nthe system time zone, which is typically determined by /etc/localtime\nor the TZ environment variable.\n\nYou can tell it to use a specific time zone, otherwise the value of\n`Time.zone` (defined by ActiveSupport/Rails) is implied.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'sidetiq-timezone'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install sidetiq-timezone\n\n## Usage\n\nIf you want to explicitly specify a time zone for the Sidetiq\nscheduler, call `Sidetiq.clock.time_zone=` as follows somewhere in\nyour application like `config/initializers/sidetiq.rb` if you are\nusing Rails.\n\n```ruby\nSidetiq.clock.time_zone = ActiveSupport::TimeZone['Tokyo']\n```\n\nOtherwise, it is automatically set to `Time.zone` when the first class\nto include `Sidetiq::Schedulable` is defined.\n\nThere is no per-worker time zone support since Sidetiq currently has\njust one shared clock that rules all scheduled workers.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, 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` to 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## Version History\n\n- 0.3.0\n\n  Change the namespace from Sidetiq::Timezone to SidetiqTimezone and\n  sidetiq/timezone to sidetiq-timezone to avoid pollution\n\n- 0.2.0\n\n  Support Sidetiq 0.7 (no functional change, just dependency updates)\n\n- 0.1.0\n\n  Initial release\n\n## Contributing\n\n1. Fork it ( https://github.com/knu/sidetiq-timezone/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Author\n\nCopyright (c) 2014-2016 Akinori MUSHA.\n\nLicensed under the 2-clause BSD license.  See `LICENSE.txt` for\ndetails.\n\nVisit the [GitHub Repository](https://github.com/knu/sidetiq-timezone)\nfor the latest information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fsidetiq-timezone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fsidetiq-timezone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fsidetiq-timezone/lists"}