vidconf
Posts: 42
Joined: Thu Mar 08, 2007 3:21 pm

Postby vidconf » Sat Feb 23, 2008 5:23 pm

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

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Sun Feb 24, 2008 6:34 am

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.

vidconf
Posts: 42
Joined: Thu Mar 08, 2007 3:21 pm

Postby vidconf » Sun Feb 24, 2008 7:22 pm

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

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Mon Feb 25, 2008 1:12 am

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).

vidconf
Posts: 42
Joined: Thu Mar 08, 2007 3:21 pm

Postby vidconf » Tue Feb 26, 2008 2:20 am

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

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Tue Feb 26, 2008 5:30 am

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.

vidconf
Posts: 42
Joined: Thu Mar 08, 2007 3:21 pm

Postby vidconf » Tue Feb 26, 2008 3:43 pm

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

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Tue Mar 25, 2008 12:17 pm

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>

vidconf
Posts: 42
Joined: Thu Mar 08, 2007 3:21 pm

Postby vidconf » Wed Mar 26, 2008 2:43 am

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


Return to “Awasu - General Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests