[mythtv-commits] mythtv commit: r25625 by wagnerrp

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Aug 12 17:00:13 UTC 2010


      Author: wagnerrp
        Date: 2010-08-12 17:00:13 +0000 (Thu, 12 Aug 2010)
New Revision: 25625
   Changeset: http://svn.mythtv.org/trac/changeset/25625

Modified:

   trunk/mythtv/bindings/python/MythTV/altdict.py
   trunk/mythtv/bindings/python/MythTV/dataheap.py
   trunk/mythtv/bindings/python/MythTV/methodheap.py
   trunk/mythtv/bindings/python/MythTV/mythproto.py
   trunk/mythtv/bindings/python/MythTV/static.py
   trunk/mythtv/bindings/python/MythTV/utility.py

Log:

Adds a new 'datetime' class to the utility module.  This class adds parsing of several different time formats, to the built-in datetime class, as well as output back to those formats.

The Recorded, RecordedProgram, and OldRecorded classes have been updated to allow inputs of these formats, as have several methods in MythBE(), MythXML(), and MythDB().

Supported formats are:
    python datetime
    unix timestamp
    myth format     -- YYYYMMDDhhmmss
    ISO 8601        -- YYYY-MM-DDThh:mm:ss[TZ]
    RFC 822         -- dayname, DD monthname YYYY hh:mm:ss TZ





More information about the mythtv-commits mailing list