influxdata / influxdata/influxdb
Tasks are not started according to local/given timezone
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Steps to reproduce:
- Schedule a task for every day
- Define timezone options inside the task:
option location = timezone.location(name: "Europe/Berlin")
Expected behavior:
I expect the task started at midnight of the given timezone (in my case local timezone).
Actual behavior:
The task start at midnight UTC, which is currently (CEST) two hours off.
Every range or other timezone-related query data are correct, so it's only the starting time.
Environment info:
Docker image with correctly set timezone
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
Reproduce the daily task with option location = timezone.location(name: "Europe/Berlin") in the provided Docker environment, then trace how its scheduled start time is calculated. Compare the task start with the timezone used by the range and other timezone-related query data. Done means the task starts at midnight in its configured timezone rather than midnight UTC.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100