[mythtv-users] Date format in 0.25 'Watch Recordings' screen

Thomas Boehm mythtv-users at lists.boehmi.net
Sat Apr 14 18:09:01 UTC 2012


John Pilkington wrote:
> I have another perhaps 0.25-related query about date/time formats that I
> may as well put here.  In a bash script I query the database to get
> starttime. If I echo this I see YYYY-MM-DD HH:MM:SS.  I haven't had
> problems using $starttime before but now mythcommflag fails with it.

I just had the same problem with a similar thing in a script today. Just
pipe it through sed like "echo $starttime|sed 's/[-\ :]//g'

HTH
Thomas


More information about the mythtv-users mailing list