Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5716 closed defect (fixed)

Corrupted wakeup time in mythshutdown

Reported by: dwalker@… Owned by: paulh
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

mythshutdown internally uses ISODate in string format to represent times. However, in setScheduledWakeupTime() the time was set to the database setting of WakeupTimeFormat?. In my case that was time_t. The time_t value then gets re-interpreter into a ISODate , with a bogus output. End result is that your wakeup time is wrong.

Attachments (1)

mythtv-fix-non-isodate-wakeup.patch (644 bytes) - added by dwalker@… 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by dwalker@…

comment:1 Changed 16 years ago by paulh

Milestone: unknown0.22
Owner: changed from Isaac Richards to paulh
Status: newassigned
Version: unknownhead

comment:2 Changed 16 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [18321]) Fix a bug in mythshutdown where if you wasn't using the ISODate format for the WakeupTimeFormat? setting the --setscheduledwakeup option would fail. Fixes #5716.

comment:3 Changed 16 years ago by paulh

(In [18322]) Merge [18321] from trunk.

Fix a bug in mythshutdown where if you wasn't using the ISODate format for the WakeupTimeFormat? setting the --setscheduledwakeup option would fail. Refs #5716.

Note: See TracTickets for help on using tickets.