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

John Pilkington J.Pilk at tesco.net
Sat Apr 14 18:31:39 UTC 2012


On 14/04/12 19:09, Thomas Boehm wrote:
> 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

Thanks for that:  I had just worked round it by using the --file option 
instead.  Mythutil seems happy with the time format but mythcommflag bombed.

John



More information about the mythtv-users mailing list