[mythtv-commits] Ticket #8722: xmltvparser uses incorrect date format for "previously-shown"

MythTV mythtv at cvs.mythtv.org
Wed Aug 4 17:11:11 UTC 2010


#8722: xmltvparser uses incorrect date format for "previously-shown"
---------------------------------------+------------------------------------
 Reporter:  anonymous                  |        Owner:  stuartm   
     Type:  patch                      |       Status:  new       
 Priority:  minor                      |    Milestone:  unknown   
Component:  MythTV - Mythfilldatabase  |      Version:  Trunk Head
 Severity:  medium                     |   Resolution:            
  Mlocked:  0                          |  
---------------------------------------+------------------------------------
Changes (by anonymous):

  * status:  closed => new
  * resolution:  invalid =>


Comment:

 Replying to [comment:1 robertm]:
 > Actually, XML TV date format *is* ISO 8601 Date.
 >
 > http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd
 >
 > If there is a specific issue you are having, please bring it up on the
 user or dev list.

 Did you actually ''read'' the DTD that you linked? It says:

 {{{
 All dates and times in this DTD follow the same format, loosely based
 on ISO 8601.  They can be 'YYYYMMDDhhmmss' or some initial
 substring
 }}}

 Note the word "loosely". Qt::ISODate says:

 {{{
         ISO 8601 extended format: either YYYY-MM-DD for dates or YYYY-MM-
 DDTHH:MM:SS for combined dates and times.

 }}}

 http://doc.trolltech.com/4.6/qt.html#DateFormat-enum

 XMLTV's date format is '''not''' ISO 8601. The two simply are '''not'''
 compatible.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8722#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list