pytz有很多时区! [英] pytz has so many timezones!

查看:83
本文介绍了pytz有很多时区!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我使用pytz.common_timezones来填充

时区组合框的一些用户注册表。但由于它拥有如此多的时区(约为
400),因此对用户来说有点混乱。是否有更小,更实惠的b $ b实用套装?如果没有,关于如何有效处理

注册表的一些建议会对我有所帮助。


谢谢

Sanjay

Hi All,

I am using pytz.common_timezones to populate the timezone combo box of
some user registration form. But as it has so many timezones (around
400), it is a bit confusing to the users. Is there a smaller and more
practical set? If not, some suggestions on how to handle the
registration form effectively would help me a lot.

thanks
Sanjay

推荐答案

Sanjay写道:
Sanjay wrote:

大家好,


我正在使用pytz.common_timezones来填充

时区组合框的一些用户注册表。但由于它拥有如此多的时区(约为
400),因此对用户来说有点混乱。是否有更小,更实惠的b $ b实用套装?如果没有,关于如何有效处理

注册表的一些建议会对我有所帮助。
Hi All,

I am using pytz.common_timezones to populate the timezone combo box of
some user registration form. But as it has so many timezones (around
400), it is a bit confusing to the users. Is there a smaller and more
practical set? If not, some suggestions on how to handle the
registration form effectively would help me a lot.



我不是时区大师 - 但如果定义了400个时区,我_think_,

它应该列出它们,不应该是吗?如果你生活在一个实际子集的一部分中,那该怎么办?


唯一可以定义实用内容的人子集应该是

由_you_组成。你知道你的应用程序在哪里使用,来自谁。


Diez

I''m not a timezone-guru - but I _think_ if there are 400 timezones defined,
it should list them, shouldn''t it? What if you lived in the one that''s not
part of the "practical subset"?

The only one who can define what that practical subset is supposed to
consist of is _you_. You know where your app is being used, from whom.

Diez


2007年10月8日,Sanjay< sk*******@gmail.com写道:
On 10/8/07, Sanjay <sk*******@gmail.comwrote:

大家好,


我正在使用pytz.common_timezones填写时区组合框

一些用户注册表。但由于它拥有如此多的时区(约为
400),因此对用户来说有点混乱。是否有更小,更实惠的b $ b实用套装?如果没有,关于如何有效处理

注册表的一些建议会对我有所帮助。
Hi All,

I am using pytz.common_timezones to populate the timezone combo box of
some user registration form. But as it has so many timezones (around
400), it is a bit confusing to the users. Is there a smaller and more
practical set? If not, some suggestions on how to handle the
registration form effectively would help me a lot.



Windows时区选择器仅列出大约80个时区。但是为什么要强迫用户选择时区?让他们从国家/地区列表中选择

,然后根据该数据推断出时区。有多个替代方案

适用于有多个时区的国家,美国东部时间,联合国

状态PST等等。


-

mvh Bj?rn

Windows timezone selector only lists about 80 timezones. But why force
the user to select timezone? Let them select from a list of countries
and then infer the timezone from that data. With multiple alternatives
for countries with more than one timezone, United States EST, United
States PST and so on.

--
mvh Bj?rn


10月8日上午10点40分,Diez B. Roggisch < de ... @nospam.web.dewrote:
On Oct 8, 10:40 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:

Sanjay写道:
Sanjay wrote:

大家好,
Hi All,


我正在使用pytz.common_timezones来填充

时区组合框的一些用户注册表。但由于它拥有如此多的时区(约为
400),因此对用户来说有点混乱。是否有更小,更实惠的b $ b实用套装?如果没有,关于如何有效处理

注册表的一些建议会对我有所帮助。
I am using pytz.common_timezones to populate the timezone combo box of
some user registration form. But as it has so many timezones (around
400), it is a bit confusing to the users. Is there a smaller and more
practical set? If not, some suggestions on how to handle the
registration form effectively would help me a lot.



我不是时区大师 - 但是如果定义了400个时区我就是_think_,

它应该列出它们,不应该是吗?如果你生活在那个不实际的一部分中,那该怎么办?


I''m not a timezone-guru - but I _think_ if there are 400 timezones defined,
it should list them, shouldn''t it? What if you lived in the one that''s not
part of the "practical subset"?



我认为问题是显示时区的下拉列表。人们不知道他们的时区如何被调用;列出很多但很好地按字母顺序排列的国家会更好

,并将

国家/地区映射到其唯一的时区,或者是少数几个拥有更多
的大国家/>
比TZ稍后提供选择。


Lorenzo Gatti

I think the problem is displaying a dropdown list of timezones. People
have little idea of how their timezones are called; it would be better
to list countries, which are many but nicely alphabetized, and map the
country to its only timezone, or for the few large countries with more
than a TZ offer a choice later.

Lorenzo Gatti


这篇关于pytz有很多时区!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆