danielk at cuymedia
Jun 8, 2012, 6:51 PM
Post #14 of 16
On 06/08/2012 12:41 PM, George Nassas wrote:
> On 2012-06-08, at 9:55 AM, George Nassas wrote:
>> the update message for the recording list change backend message the
>> four times are still local even though the db versions are UTC.
> Found a sec to look closer. The problem is the DATETIME_TO_LIST macro in
> libs/libmyth/programinfo.cpp which writes using toTime_t(). There's also
> a similar macro in libs/libmythbase/filesysteminfo.cpp but it doesn't
> appear to be invoked.
> This might be a good time to switch the five fields (startts, endts,
> recstartts, recendts, and lastmodified) to UTC strings instead of local
> numbers. I can submit a patch if the powers that be agree.
toTime_t() & fromTime_t() should work just fine. time_t is always in
UTC so this would be unchanged across the wire from pre-utc merge.
Anyway, I don't know what you mean by this "the update message for
the recording list change backend message the four times are still
local even though the db versions are UTC."
Can you give the MythProto command name or just the screen you are
seeing an issue with?
mythtv-dev mailing list
mythtv-dev [at] mythtv