gcal_sync.py 文件源码

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

项目:hashtagtodo-open 作者: slackpad 项目源码 文件源码
def safe_timezone(time_zone):
    try:
        return pytz.timezone(time_zone)
    except pytz.UnknownTimeZoneError:
        # This is a hack! We need to audit for these and clean them up.
        print 'BAD_TZ: %s' % time_zone
        return pytz.timezone('America/Los_Angeles')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号