thetvdb.py 文件源码

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

项目:script.module.thetvdb 作者: marcelveldt 项目源码 文件源码
def _get_local_date(datestr, long_date=False):
        '''returns the localized representation of the date provided by the api'''
        result = ""
        try:
            if long_date:
                result = arrow.get(datestr).strftime(xbmc.getRegion('datelong'))
            else:
                result = arrow.get(datestr).strftime(xbmc.getRegion('dateshort'))
        except Exception as exc:
            _log_msg("Exception in _get_local_date: %s" % exc)
        return result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号