setting timezone from web page
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.
Dear John Stile,
Quoted 3 lines · John Stile
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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com