Support Forums

dateformat

This is a discussion on dateformat within the Templates, HTML, CSS, and Design Help forums, part of the General category; is there a way to see the ads with the date of today and yesterday instead of numbers? example: 10 ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 11-10-2010, 11:48 AM   #1
Banned
 
Join Date: May 2010
Posts: 17
Rep Power: 0
antonio71 is on a distinguished road
Default dateformat

is there a way to see the ads with the date of today and yesterday instead of numbers?

example: 10 Nov 2010 = today 9 Nov 2010 =Yesterday


Thanks to all
antonio71 is offline   Reply With Quote
Old 11-10-2010, 12:09 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

At the template level you should be able to add some smarty logic to check the date and alter it using smarty's date_format function.

Smarty
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 11-10-2010, 12:37 PM   #3
Banned
 
Join Date: May 2010
Posts: 17
Rep Power: 0
antonio71 is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
At the template level you should be able to add some smarty logic to check the date and alter it using smarty's date_format function.

Smarty
can you help me with the code ??

please

thank you
antonio71 is offline   Reply With Quote
Old 11-10-2010, 02:48 PM   #4
Staff
 
Join Date: Mar 2006
Posts: 587
Rep Power: 34
Blair will become famous soon enough
Default

Antonio-

Larry's been kind enough to look up and supply you with the Smarty page that explains how to apply the change you're looking for. If you need someone else to actually do the work, please consider hiring one of these guys: ClassifiedMods Professionals

Thanks-
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0