Opened 17 years ago

Closed 17 years ago

#2651 closed patch (fixed)

mythburn.py does not handle datetime in the format YYYY-mm-dd HH:MM:SS.xx

Reported by: nigel.jewell@… Owned by: paulh
Priority: minor Milestone: unknown
Component: mytharchive Version: 0.20
Severity: high Keywords:
Cc: Ticket locked: no

Description

Using python 2.3.5 with mytharchive from 0-20-fixes the date times used in mythburn.py on my distro are in the format:

YYYY-mm-dd HH:MM:SS.xx

This causes mythburn.py to fall over when it tries to convert from:

YYYY-mm-dd HH:MM:SS

I have little python experience ... but I fixed this in my installation with the attached patch.

Attachments (1)

mythburn.patch (1.9 KB) - added by nigel.jewell@… 17 years ago.
Patch to fix issue with strptime

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by nigel.jewell@…

Attachment: mythburn.patch added

Patch to fix issue with strptime

comment:1 Changed 17 years ago by paulh

(In [12162]) Should fix a problem some people have had with parsing the date/time returned by python-mysqldb. Refs #2651.

comment:2 Changed 17 years ago by paulh

Resolution: fixed
Status: newclosed

(In [12163]) Merge [12162] from trunk.

Should fix a problem some people have had with parsing the date/time returned by python-mysqldb. Fixes #2651.

Note: See TracTickets for help on using tickets.