All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
Date: Wed, 24 Oct 2012 15:04:23 +0200	[thread overview]
Message-ID: <877gqgm36w.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20121024143009.23f6b698@skate> (Thomas Petazzoni's message of "Wed, 24 Oct 2012 14:30:09 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
 >> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
 >> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
 >> 
 >> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
 >> missing) seems more sensible than US Mountain Time Zone in the default
 >> rootfs skeleton.

 Thomas> And with glibc/eglibc?

As far as I understand it (e)glibc doesn't use /etc/TZ:

https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt

time functions
--------------
1) Leap seconds are not supported.
2) /etc/timezone and the whole zoneinfo directory tree are not supported.
   To set the timezone, set the TZ environment variable as specified in
   http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
   or you may also create an /etc/TZ file of a single line, ending with a
   newline, containing the TZ setting.  For example
   echo CST6CDT > /etc/TZ
3) Currently, locale specific eras and alternate digits are not supported.
   They are on my TODO list.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2012-10-24 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24  7:16 [Buildroot] [git commit] fs/skeleton: remove /etc/TZ Peter Korsgaard
2012-10-24 12:30 ` Thomas Petazzoni
2012-10-24 13:04   ` Peter Korsgaard [this message]
2012-10-24 13:14     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gqgm36w.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.