Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] setting timezone from web page
@ 2013-02-27 21:51 John Stile
  2013-02-27 23:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: John Stile @ 2013-02-27 21:51 UTC (permalink / raw)
  To: buildroot

I am using buildroot for a device where the user can set the timezone
via a web page, and the web page gets it's list of timezones from:
http://www.ietf.org/timezones/data/zone.tab
But those don't work in /etc/TZ.

I found some documentation that says buildroot's /etc/TZ should follow
rules according to Single Unix Specification Version 3

Is there a way to translates/transcribes IETF timezone into a Single
Unix Specification Version 3?

If not is there a compatible zone.tab for buildroot's  /etc/TZ?

Is there a better way to do all this?

I'm on buildroot-2011.11.

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

* [Buildroot] setting timezone from web page
  2013-02-27 21:51 [Buildroot] setting timezone from web page John Stile
@ 2013-02-27 23:14 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-02-27 23:14 UTC (permalink / raw)
  To: buildroot

Dear John Stile,

On Wed, 27 Feb 2013 13:51:29 -0800, John Stile wrote:

> If not is there a compatible zone.tab for buildroot's  /etc/TZ?
> 
> Is there a better way to do all this?

Last time I did a project that involved time zones and configurability
of time zones through a web interface, I used glibc to get the more
standard handling of time zones. You can perfectly fine use a glibc
toolchain with Buildroot.

Of /etc/TZ is *not* a Buildroot thing. It is a uClibc thing.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2013-02-27 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 21:51 [Buildroot] setting timezone from web page John Stile
2013-02-27 23:14 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox