Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Documentation incorrect about changing timezone
@ 2022-07-14  8:28 kintarowonders
  2022-07-14  9:23 ` [ISSUE] [CLOSED] " kintarowonders
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kintarowonders @ 2022-07-14  8:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

New issue by kintarowonders on void-packages repository

https://github.com/void-linux/void-packages/issues/38058

Description:
I created a new Void Linux system and the installer did not have UTC as an option and all of it's timezone options in the installer are region based. I decided to change this detail later.

So I searched for how to change the timezone on Void Linux and was [led to the documentation](https://docs.voidlinux.org/config/date-time.html).

I did this and changed the symlink in /etc/localtime to /usr/share/zoneinfo/UTC and then I rebooted, partly to be sure it was persistent. When I booted back up I was still in the timezone I picked in the installer. I decided to investigate and found out that the documentation is wrong, and that the timezone symlink is set on boot.

To actually change the timezone one must change the TIMEZONE variable in /etc/rc.conf and the documented should be updated to reflect this.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] Documentation incorrect about changing timezone
  2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
@ 2022-07-14  9:23 ` kintarowonders
  2023-11-25  1:02 ` dumpster-of-things
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kintarowonders @ 2022-07-14  9:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

Closed issue by kintarowonders on void-packages repository

https://github.com/void-linux/void-packages/issues/38058

Description:
I created a new Void Linux system and the installer did not have UTC as an option and all of it's timezone options in the installer are region based. I decided to change this detail later.

So I searched for how to change the timezone on Void Linux and was [led to the documentation](https://docs.voidlinux.org/config/date-time.html).

I changed the symlink in /etc/localtime to /usr/share/zoneinfo/UTC like the documentation states and then I rebooted, partly to be sure it was persistent. When I booted back up I was still in the timezone I picked in the installer. I decided to investigate and found out that the documentation is wrong, and that the timezone symlink is set on boot.

To actually change the timezone one must change the TIMEZONE variable in /etc/rc.conf and the documented should be updated to reflect this.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Documentation incorrect about changing timezone
  2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
  2022-07-14  9:23 ` [ISSUE] [CLOSED] " kintarowonders
@ 2023-11-25  1:02 ` dumpster-of-things
  2023-11-25  1:04 ` dumpster-of-things
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dumpster-of-things @ 2023-11-25  1:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

New comment by dumpster-of-things on void-packages repository

https://github.com/void-linux/void-packages/issues/38058#issuecomment-1826173729

Comment:
After reading this as well as the official documentation I am left wondering: what do we set <TIMEZONE> to?
I've had similar issues on other distros and symlinking /usr/share/zoneinfo/<COUNTRY>/<STATE>/<CITY> to /etc/localtime has always resolved the problem.  But I can't find any explanation of what <TIMEZONE> actually is in rc.conf.
Apologies if I've simply overlooked an obvious answer here.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Documentation incorrect about changing timezone
  2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
  2022-07-14  9:23 ` [ISSUE] [CLOSED] " kintarowonders
  2023-11-25  1:02 ` dumpster-of-things
@ 2023-11-25  1:04 ` dumpster-of-things
  2023-11-25  1:06 ` dumpster-of-things
  2023-11-25  1:23 ` dumpster-of-things
  4 siblings, 0 replies; 6+ messages in thread
From: dumpster-of-things @ 2023-11-25  1:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

New comment by dumpster-of-things on void-packages repository

https://github.com/void-linux/void-packages/issues/38058#issuecomment-1826173729

Comment:
After reading this as well as the official documentation I am left wondering: what do we set TIMEZONE to in rc.conf and/or the TZ env variable?
I've had similar issues on other distros and symlinking /usr/share/zoneinfo/COUNTRY/STATE/CITY to /etc/localtime has always resolved the problem.  But I can't find any explanation of what TIMEZONE should look like.
Apologies if I've simply overlooked an obvious answer here.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Documentation incorrect about changing timezone
  2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
                   ` (2 preceding siblings ...)
  2023-11-25  1:04 ` dumpster-of-things
@ 2023-11-25  1:06 ` dumpster-of-things
  2023-11-25  1:23 ` dumpster-of-things
  4 siblings, 0 replies; 6+ messages in thread
From: dumpster-of-things @ 2023-11-25  1:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

New comment by dumpster-of-things on void-packages repository

https://github.com/void-linux/void-packages/issues/38058#issuecomment-1826173729

Comment:
After reading this as well as the official documentation I am left wondering: what do we set TIMEZONE to in rc.conf and/or the TZ env variable?
I've had similar issues on other distros and symlinking /usr/share/zoneinfo/COUNTRY/STATE/CITY to /etc/localtime has always resolved the problem.  But I can't find any explanation of what TIMEZONE should look like.
Apologies if I've simply overlooked an obvious answer here.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Documentation incorrect about changing timezone
  2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
                   ` (3 preceding siblings ...)
  2023-11-25  1:06 ` dumpster-of-things
@ 2023-11-25  1:23 ` dumpster-of-things
  4 siblings, 0 replies; 6+ messages in thread
From: dumpster-of-things @ 2023-11-25  1:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

New comment by dumpster-of-things on void-packages repository

https://github.com/void-linux/void-packages/issues/38058#issuecomment-1826177876

Comment:
Solution:   ` date --set='TZ="TIMEZONE" TIME' `
Example:   ` date --set='TZ="America/Kentucky/Louisville" 9:36PM' `


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-25  1:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14  8:28 [ISSUE] Documentation incorrect about changing timezone kintarowonders
2022-07-14  9:23 ` [ISSUE] [CLOSED] " kintarowonders
2023-11-25  1:02 ` dumpster-of-things
2023-11-25  1:04 ` dumpster-of-things
2023-11-25  1:06 ` dumpster-of-things
2023-11-25  1:23 ` dumpster-of-things

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).