createProductRelease appears to ignore minutes in timestamps

Bug #524786 reported by Robert Collins
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

 affects launchpad
 done

Using launchpadlib,
p = launchpad['foo']
s = p.getSeries('trunk')
m = s.getMileStone('milestone')
m.createProductRelease(atimestamp)

appears to drop the minutes.

Specifically, at 2010-02-20-06:07:45 UTC, I called
createProductRelease('2010-02-20-06:07:45') and a release was created
which, in the web UI shows as 'released 6 hours ago' - twenty minutes
earlier the releases were showing as 'released 5 hours ago'.

-Rob

Revision history for this message
Curtis Hovey (sinzui) wrote :

I have seen this with other objects recently when looking at projects. I wonder if the date/time formatter is broken.

affects: launchpad → launchpad-registry
Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: releases
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.