astral.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:astral 作者: sffjunkie 项目源码 文件源码
def timezone(self):
        """The name of the time zone for the location.

        A list of time zone names can be obtained from pytz. For example.

        >>> from pytz import all_timezones
        >>> for timezone in all_timezones:
        ...     print(timezone)
        """

        if self._timezone_location != '':
            return '%s/%s' % (self._timezone_group,
                              self._timezone_location)
        else:
            return self._timezone_group
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号