Skip to content

Commit

Permalink
Update time-zones.md
Browse files Browse the repository at this point in the history
unknown time zones  read from system zoneinfo
  • Loading branch information
BorisTyshkevich authored Feb 29, 2024
1 parent 7a87be8 commit fc4cd65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions content/en/altinity-kb-queries-and-syntax/time-zones.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ Query id: 855453d7-eccd-44cb-9631-f63bb02a273c

```

Clickhouse uses system timezone info from tzdata package if it exists, and uses own builtin tzdata if it is missing in the system.

```
cd /usr/share/zoneinfo/Canada
ln -s ../America/Halifax A
TZ=Canada/A clickhouse-local -q 'select timezone()'
Canada/A
```

### When the conversion using different rules happen

```sql
Expand Down

0 comments on commit fc4cd65

Please sign in to comment.