Menu ▾ ▴

#76 End time is set incorrectly

pending-accepted
5
2011-07-04
2011-02-09
No

Hi,
it appears that the end time of epg events is set to the same value as its start time. Simple fix below.

Pascal

--- connection.py
+++ (clipboard)
@@ -156,7 +156,7 @@

elif name == 'new':
new_start = time.strptime(attrs.getValue('start'), '%Y-%m-%d %H:%M:%S')
- new_end = time.strptime(attrs.getValue('start'), '%Y-%m-%d %H:%M:%S')
+ new_end = time.strptime(attrs.getValue('end'), '%Y-%m-%d %H:%M:%S')
new_ca = attrs.getValue('ca') == 'yes'

self.handler.new_event(self.event_ref, new_start, new_end, new_ca)

Discussion

  • Adam Charrett

    Adam Charrett - 2011-07-04
    • status: open --> pending-accepted
     
  • Adam Charrett

    Adam Charrett - 2011-07-04

    Thanks committed in rev 808.

     

Log in to post a comment.