[mythtv] Display Old Original Air Dates?

David Härdeman david at hardeman.nu
Fri Mar 2 08:21:53 UTC 2007


On Thu, March 1, 2007 15:07, David Schmidt said:
> On 2/28/07, Tony Lill <ajlill at ajlc.waterloo.on.ca> wrote:
>> All the program info data the backend sends to the frontend is
>> serialized by the routines I fixed. The old code converted a proper
>> date to a UNIX time, and so it gets cut off at 1969-12-31. The patch
>> should fix any problem with original airdates in the frontend.
>
> Not that it matters, since you fixed it otherwise, but it's fully
> legal to use negative time_t's for dates prior to the Epoch.  So you
> can go back to, according to the ctime manpage, Friday December 13
> 20:45:52 UTC 1901.

The standards do not mandate whether time_t is signed or not, or whether
negative time_t's mean pre-epoch time.

-- 
David Härdeman



More information about the mythtv-dev mailing list