How to set the daily time as the time of a certain time zone, thank you
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
every 1.day, at: '3:00' do
runner "MyModel.nightly_archive_job"
end
The 3:00 above is UTC time, right? What if I want to set 3:00 every day in Beijing, China time zone? How can I write time expressions? I wrote "at: '3:00 +0800'" like this, but it didn't work.
Thanks ;)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue only identifies a daily every 1.day schedule and an at: '3:00' expression; it names no files or tests. Start by checking the project's documentation and time-expression entry points for timezone guidance. Done means the supported way to express 3:00 in Beijing time is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100