taosdata / taosdata/TDengine

regarding GO taosRestful timezone

Open
#23,705 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

TDENGINE版本:version: 3.1.1.0 compatible_version: 3.0.0.0
driver-go版本:v3.5.0
dsn:root:taosdata@http(:)/***?timezone=UTC+8"

我的taos.cfg配置文件如下:
image

获取的时间是UTC,而我存储的是UTC+8
image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with TDengine 3.1.1.0, driver-go v3.5.0, and the supplied DSN timezone=UTC+8, then compare the returned timestamps with the stored UTC+8 values and the taos.cfg settings shown in the issue. Done means the timezone behavior is understood and corrected or clearly documented with a verified result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.