influxdata / influxdata/influxdb
InfluxDB Import Timezone does not work as expected
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
1. ...use of the timezone module
2. `import "timezone"
option location = timezone.location(name: "Europe/Belfast")`
__Expected behavior:__
When using the timezone module, the existing data that is stored in UTC is not displayed in the local time as expected.
The data should be shown in local Time
__Actual behavior:__
The date are shown in UTC
__Environment info:__
* System info: Synology DSM 7
* InfluxDB 2.1.1
* Docker
__Config:__
`import "timezone"
option location = timezone.location(name: "Europe/Berlin")
from(bucket: "stromzaehler")
|> range(start: today())
|> filter(fn: (r) => r["_measurement"] == "stromzaehler")`
Contributor guide
Research direction
Start by reproducing the supplied Flux query with the timezone module and the Europe/Berlin or Europe/Belfast location against existing UTC data. Compare the returned timestamps with the expected local time; done means the configured timezone is applied consistently rather than the results remaining in UTC.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100