Page 1 of 1

Channel report - Friendly Time/Date formating

Posted: Sat Feb 23, 2008 5:23 pm
by vidconf
Using a Channel report.

Can't seem to get this parameter working for friendly date/time formating:
{%ITEM-METADATA% timestamp "%m/%d/%y %H:%M"}

Is this supported in Channel Reports?

Thanks

Vid

Re: Channel report - Friendly Time/Date formating

Posted: Sun Feb 24, 2008 6:34 am
by support
Are you getting the correct timestamp, just not in the format you want?

I'm on the road right now and don't have easy access to the source but IIRC, you need a <tt>format=</tt> in front of the format string.

Posted: Sun Feb 24, 2008 7:22 pm
by vidconf
Thanks, my bad forgot to use the "format="

It works for me now:
{%ITEM-METADATA% timestamp format="%m/%d/%y %H:%M"}


Question:

The above produces - "Published: 02/05/08 22:09"

Can I remove or change "Published" ?

Vid

Posted: Mon Feb 25, 2008 1:12 am
by support
vidconf wrote:Can I remove or change "Published" ?

Bugger, you're really stretching my memory now.. :unsure:

Try using "timestamp!" (note the exclamation mark at the end).

Posted: Tue Feb 26, 2008 2:20 am
by vidconf
support wrote:
vidconf wrote:Can I remove or change "Published" ?

Bugger, you're really stretching my memory now.. :unsure:

Try using "timestamp!" (note the exclamation mark at the end).


I tried it.
{%ITEM-METADATA% timestamp! format="%m/%d/%y"} and got no date or time in the Channel Report :cry:

Any other way to remove "Published"?

Thanks
Vid

Posted: Tue Feb 26, 2008 5:30 am
by support
vidconf wrote:Any other way to remove "Published"?

IIRC there is but as I said earlier, I'm on the the road so I'll post something when I get back to the office.

Posted: Tue Feb 26, 2008 3:43 pm
by vidconf
support wrote:
vidconf wrote:Any other way to remove "Published"?

IIRC there is but as I said earlier, I'm on the the road so I'll post something when I get back to the office.


Cool thanks,

Your excellent support is much appreciated :D

Vid

Posted: Tue Mar 25, 2008 12:17 pm
by support
vidconf wrote:Any other way to remove "Published"?

You need to add a <tt>noCaption</tt> argument i.e. <tt>{%ITEM-METADATA% timestamp format="%m/%d/%y %H:%M" <b>noCaption</b>}</tt>

Posted: Wed Mar 26, 2008 2:43 am
by vidconf
support wrote:
vidconf wrote:Any other way to remove "Published"?

You need to add a <tt>noCaption</tt> argument i.e. <tt>{%ITEM-METADATA% timestamp format="%m/%d/%y %H:%M" <b>noCaption</b>}</tt>


Excellent :)

Thank you VERY much. Works great.

Vid