[mythtv-firehose] mythtv/master commit: 0f79bf1b4 by Stuart Morgan (stuartm)

MythTV noreply at mythtv.org
Mon Jul 18 16:47:28 UTC 2011


      Author:  Stuart Morgan <smorgan at mythtv.org>
 Change Date:  2011-07-18T09:47:02-07:00
   Push Date:  2011/07/18 09:47:21 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  0f79bf1b407ac3a6e0e22e20f2cf1f77a632010c
   Changeset:  https://github.com/MythTV/mythtv/commit/0f79bf1b4

Log:

Common date/time to string conversion functions

We perform these conversions all over the place which makes
maintenance and new date/time features harder to implement. Existing
code will need to be converted to use these instead and this commit
doesn't address that.

Format can be indicated via the kDateFull, kDateShort, kDateTimeFull,
kDateTimeShort or kTime flags.

The first new feature is the option to 'simplify' dates to 'Today',
'Tomorrow' or 'Yesterday' when applicable. This can be specified with
the kSimplify flag

Modified:

   mythtv/libs/libmythbase/util.cpp
   mythtv/libs/libmythbase/util.h



More information about the mythtv-firehose mailing list