Time

HMS Surprise john at datavoiceint.com
Mon May 14 10:22:53 EDT 2007


> if t[2] == 'PM':
>     hrMn[0] = int(hrMn[0]) + 12
>


Oops, should be:
hrMn[0] = int(hrMn[0]
    if t[2] == 'PM':
    hrMn[0] += 12





More information about the Python-list mailing list