c = TZInfo::Country.get('US') zones = c.zone_identifiers
这将返回全部区的国家。ide
咱们须要显示的是“华盛顿,美国” spa
怎样得到所在时区的民成呢?get
因此咱们能够获得时区位置的名称(“美国华盛顿)string