[Buildbot-devel] buildbot/github post-receive URL timestamp problem
Dustin J. Mitchell
dustin at v.igoro.us
Fri Jul 15 01:02:36 UTC 2011
> ...but module buildbot.status.web.hooks.github is looking for something in the format:
>
> "timestamp":"1970-01-01T00:00:00+00:00"
>
> Here's the code (http://buildbot.net/buildbot/docs/0.8.3/reference/buildbot.status.web.hooks.github-pysrc.html):
>
> 59 def convertTime(myTestTimestamp):
> 60 #"1970-01-01T00:00:00+00:00"
> 61 matcher = re.compile(r'(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)([-+])(\d\d):(\d\d)')
> 62 result = matcher.match(myTestTimestamp)
> 63 (year, month, day, hour, minute, second, offsetsign, houroffset, minoffset) = \
> 64 result.groups()
>
> Any suggestions?
Can you file a bug? Thanks!
Dustin
More information about the devel
mailing list