Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2665 by eugene
07 Apr 2016, 08:49
In account history all dates looks like Y-m-d. It's becouse the $orderItems = $this->get( 'listsOrderItems', array() ); in /typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/client/html/templates/account/history/list-body-default.php returns such array: {"10":{}} with IDs only. Tested versions are 16.3.1 and 2.4.6.
#2666 by aimeos
07 Apr 2016, 09:52
We've tested what you've described but can't confirm it. Dates are displayed like "03/31/2016" in the account history list because the English translation of "Y-m-d" is "m/d/Y" (https://github.com/aimeos/aimeos-core/blob/master/client/i18n/en.po#L769).

Also, the content of "listsOrderItems" is always
Code: Select allarray(
  <id> => <Aimeos MShop Order Item Standard object>,
  ...
)

That's the code assigning the array to "listsOrderItems":
https://github.com/aimeos/aimeos-core/blob/master/client/html/src/Client/Html/Account/History/Lists/Standard.php#L289

Did you implement a custom Client/Html/Account/History/Lists class?
#2667 by eugene
07 Apr 2016, 10:08
No, the Client/Html/Account/History/Lists class is standard. I didn't change that. And the code is $view->listsOrderItems = $manager->searchItems( $search ); I see dates in russuan translation, so it's Г-м-д in account history.
#2670 by eugene
07 Apr 2016, 16:44
I corrected that string and several others in translation files manualy, everything is ok now. Looks fine. :D I fix that in Transiflex later. Thanks for your help.