2 replies [Last post]
perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
Was this information Helpful?

Hi,

Can anyone tell me where i can find the code to remove the timestamp from the [order-date-created] and [order-date-modified] tokens? I also need to change the date format as it shows m/d/Y even though the format has been changed in the settings to UK time.

invoices show now : 03/30/2009 14:20
i would like : 30/3/2009

Thanks

J

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Removing time stamp from order invoices

That Ubercart token uses the short date format defined in Drupal at admin/settings/date-time. You can change it to whatever you want on that admin page.

<tr>.
perfectmatch's picture
Offline
Joined: 05/30/2008
Juice: 79
Re: Re: Removing time stamp from order invoices

Have changed the settings and the date works fine now.

However, it doesn't remove the time stamp. Any ideas?