duplicate date format in several arears of order history

Project:Ubercart Contributions
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

Order History in "My order history" page - Date is displayed duplicate (dddd/mmmm/yyyyyyyy)
Same phenomene in "Shipments Table" under "Ship Date" and "Estimated delivery".

Version: 
rc
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: duplicate date format in several arears of order history

Did you adjust the date format settings yourself at /admin/store/settings/store/edit/display?

elephantiX@drupal.org's picture
Offline
Joined: 06/05/2008
Juice: 49
i did
Assigned to:Ryan» elephantiX@drupal.org

hi ryan,
your pretty the fastest guy ! i adjusted the store settings/format settings/date format to: dd/mm/YY (i´m here in germany).
if you need more information ask Eye-wink

thanks for your help !

sunny time
carsten aka elephantiX

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: i did
Assigned to:elephantiX@drupal.org» Ryan

Ahh, that's the problem then. The PHP date format is duplicating it b/c the only valid characters for formats are single characters. Putting 'd' twice will output the replacement for that twice. Check out this page for info on the characters you can use:

http://us2.php.net/manual/en/function.date.php

elephantiX@drupal.org's picture
Offline
Joined: 06/05/2008
Juice: 49
thanks :-9
Assigned to:Ryan» elephantiX@drupal.org

hi ryan,
thanks and sorry for bothering you with that stuff - i´m not a programmer only information architect and usability expert - so i thoght this would be like in every date format i knew. thanks for your help !
sunny days
carsten

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: thanks :-9
Assigned to:elephantiX@drupal.org» Ryan

No problem... there's a lot to learn, and we're not above having bugs in our code. Smiling