标签:div ddr pre lte strftime redmin add 问题 min
#用于取得特定时间后更新的问题票,减少同步的时间 from redminelib import Redmine import datetime redmine = Redmine(‘redmine address‘, key=‘your key‘) now = datetime.datetime.now() update_time = now.strftime(">=%Y-%m-%dT%H:%M:%SZ") issues = redmine.issue.filter( project_id=‘hancock‘, status_id=‘open‘, updated_on=update_time)
标签:div ddr pre lte strftime redmin add 问题 min
原文地址:https://www.cnblogs.com/CodeUnknown/p/11676990.html