[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: r203 - in trunk: db db/procs db/tests libdm
- To: uu@total-knowledge.com
- Subject: Re: r203 - in trunk: db db/procs db/tests libdm
- From: "Alexey Parshin" <alexeyp@gmail.com>
- Date: Wed, 9 Jul 2008 08:42:20 +1000
- Delivered-to: mailing list uu@total-knowledge.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=jPeTc33IYALm8M4qKnkVdjJclWNeB62J+VjOs6ZM0ao=; b=xU9D0kxe9enIENCOmEiutJjC12NQsXP+2FKUWunnZUOhrH3EoqYIvlRdYO08G9FAcd LbEeXF71iVpyLO0V2TERdNpAuPYO5i4f0Dhc8aDFbcTD3wAkVUhhZcdGmrMsVnpOqv+o ccOwKTlvYa/d6LfMO2c77kEMwgjYUxUPjjsso=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=PWKpuL0IG/behDbwZN1vlUxlZzTBMAMhKgz4kRvz6DFLkaWaoxsOLu2cQfCFzeLmcn awJKKA3AZW8WjB08H+qQVW1amd1DtpOU8RrqXp9WIF24dmCgUU+VnOgvYDxOeWc6WNMd VCTwv0gLUeNwnWFUofpOCwdDg9s6zAwaw01Ws=
- In-reply-to: <48738A05.20601@total-knowledge.com>
- Mailing-list: contact uu-help@total-knowledge.com; run by ezmlm
- References: <20080708131727.5902.qmail@gateway.total-knowledge.com> <48738A05.20601@total-knowledge.com>
Define 'RI', please. (I guess tha's reference information).
Currently, it's done by parsing a time_zones.txt file that contains a list of the time zones. This file is generated from /usr/share/zoneinfo by a single command. I can include that command in the _create_db.pl script if you want.
The presentation of the time zines by groups reflects the most popular way of defining 'em - as two combo boxes (groups and time zones for a group). The query to build a full TZ name is a trivial join.
The reference information is necessary to avoid any TZ misspelling on the user input. At the very least, we can verify the spelling and existance of the user TZ.
2008/7/9 Ilya A. Volynets-Evenbakh <
ilya@total-knowledge.com>:
I am not sure we really need RI on time zones (could just store tz string in user prefs),
but even if we do, tz table should just contain TZ strings, and init of TZ table should
be done by a separate script, which would go through server's zoneinfo structure, and
fill out the table with all available info.
Ilya.
--
Alexey Parshin,
http://www.sptk.net