On Sun, Oct 08, 2006 at 05:02:44PM +0000, Thorsten Glaser wrote: > Waldemar Brodkorb dixit: > > >Can you please provide this menuconfig entry? > > My menuconfig is not that great, maybe some of you Linuxers can help? > Something like this I imagine: > > choice > prompt "Time Zone" > default FWRT_TZ_UTC > > config FWRT_TZ_UTC > string "UTC (Coordinated Universal Time)" > default "UTC0" > > config FWRT_TZ_CET > string "CET/CEST (Central European Time)" > default "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00" > > config FWRT_TZ > string "Any other (enter yourself)" > default "UTC0" if FWRT_TZ_UTC > default "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00" if FWRT_TZ_CET > default "" > > endchoice
I agree with tg to use UTC as default timezone, but I do not like this solution above. I found http://en.wikipedia.org/wiki/Daylight_saving ftp://elsie.nci.nih.gov/pub/tzdata2006m.tar.gz http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html http://leaf.sourceforge.net/doc/bk02ch18s03.html Extracted from ./WRT54G_4_20_9_0916_SC/release/src/router/www/cisco_wrt54g_m/index.asp: "-12 1 0" (GMT-12:00) Kwajalein "-11 1 0" (GMT-11:00) Midway Island, Samoa "-10 1 0" (GMT-10:00) Hawaii "-09 1 1" (GMT-09:00) Alaska "-08 1 1" (GMT-08:00) Pacific Time (USA & Canada) "-07 1 0" (GMT-07:00) Arizona "-07 2 1" (GMT-07:00) Mountain Time (USA & Canada) "-06 1 0" (GMT-06:00) Mexico "-06 2 1" (GMT-06:00) Central Time (USA & Canada) "-05 1 0" (GMT-05:00) Indiana East, Colombia, Panama "-05 2 1" (GMT-05:00) Eastern Time (USA & Canada) "-04 1 0" (GMT-04:00) Bolivia, Venezuela "-04 2 1" (GMT-04:00) Atlantic Time (Canada), Brazil West "-03.5 1 1" (GMT-03:30) Newfoundland "-03 1 0" (GMT-03:00) Guyana "-03 2 1" (GMT-03:00) Brazil East, Greenland "-02 1 0" (GMT-02:00) Mid-Atlantic "-01 1 2" (GMT-01:00) Azores "+00 1 0" (GMT) Gambia, Liberia, Morocco "+00 2 2" (GMT) England "+01 1 0" (GMT+01:00) Tunisia "+01 2 2" (GMT+01:00) France, Germany, Italy "+02 1 0" (GMT+02:00) South Africa "+02 2 2" (GMT+02:00) Greece, Ukraine, Romania, Turkey "+03 1 0" (GMT+03:00) Iraq, Jordan, Kuwait "+04 1 0" (GMT+04:00) Armenia "+05 1 0" (GMT+05:00) Pakistan, Russia "+06 1 0" (GMT+06:00) Bangladesh, Russia "+07 1 0" (GMT+07:00) Thailand, Russia "+08 1 0" (GMT+08:00) China, Hong Kong, Australia Western "+08 2 0" (GMT+08:00) Singapore, Taiwan, Russia "+09 1 0" (GMT+09:00) Japan, Korea "+10 1 0" (GMT+10:00) Guam, Russia "+10 2 4" (GMT+10:00) Australia "+11 1 0" (GMT+11:00) Solomon Islands "+12 1 0" (GMT+12:00) Fiji "+12 2 4" (GMT+12:00) New Zealand All that stuff should not part of the build system, but part of an optional web interface. Unfortunately, Germany's timezone definition has a much more complicated syntax than the default UTC one, so providing a UTC doesn't really help much. So, I vote for just including "UTC0" as default timezone and document timezone settings in the wiki now. We should include this stuff in the NG webif. Dirk _______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
