[mythtv-commits] Ticket #1473: Converting Modified Julian Dates

MythTV mythtv at cvs.mythtv.org
Wed Mar 8 18:03:20 UTC 2006

#1473: Converting Modified Julian Dates
 Reporter:  dm at prolingua.co.uk  |       Owner:  danielk
     Type:  patch               |      Status:  new    
 Priority:  minor               |   Milestone:  0.20   
Component:  dvb                 |     Version:         
 Severity:  low                 |  
 SVN 9297 added truncf to dvbdate2qt and that needed #include <math.h> to
 compile on my system.  However, there's a much easier way to convert
 modified Julian dates since 1970 to Unix dates and that uses the fact that
 1st January 1970 was MJD 40587.  The attached patch should work.  If it
 doesn't I need to change the MHEG code since I've used it there.


Ticket URL: <http://cvs.mythtv.org/trac/ticket/1473>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list