-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set time zone 'asia/kolkata'; timezone data cannot be found in ubuntu #31297
Comments
Hmm, I think we get our timezone information from the system. Perhaps your tzinfo files need updating on Ubuntu? |
TImezones in linux are case sensitive:
|
Thanks @mberhault for your support. |
Similar problem here with Europe/Berlin on a Windows machine:
|
Hi @pmneo did you find a solution? |
@pungggi unfortunately, no. It seems that just few people are interessted in running this on windows ... |
@pmneo my quick 'fix' ist to change the timezone of the machine to UTC.. 🥇 👎 |
@pmneo @pungggi See the answer above at #31297 (comment)
|
@knz have you read my post #31297 (comment) ? 'Europe/Berlin' is no solution for that problem under windows: |
Have you read my answer?
|
yes, but you have not told me which is the correct one. I have tried Europe/Berlin and europe/berlin ... |
Have you tried "CET"? That's the standard zone name. I am not sure windows support city-based zone names at all. |
root@:26257/defaultdb> set time zone CET; |
@BramGruneir can you have a quick look? Is Go unable to load named timezones on windows whatsoever? |
@pungggi in the meantime please create as separate issue. This issue about timezones on Ubuntu. We're having an unrelated conversation now. |
Already opened #32415 |
When I am trying to set timezone in ubuntu server by the command:
set time zone 'asia/kolkata';
I am getting pq: cannot find time zone "asia/kolkata": timezone data cannot be found
where as this command run without issue in Mac.
I tried to execute this command on cockroach 2.0.5 and 2.0.6
Server version: CockroachDB CCL v2.0.6 (x86_64-unknown-linux-gnu, built 2018/10/01 13:59:40, go1.10) (same version as client)
oot@:26257/> set time zone 'asia/kolkata';
pq: cannot find time zone "asia/kolkata": timezone data cannot be found
root@:26257/>
The text was updated successfully, but these errors were encountered: