GX-Bug #67951
Von Daniel Wu vor etwa 4 Jahren aktualisiert
This problem occurs in cloud shops and applies to dates in the order confirmation mail. To solve this, the Intl extension was used with a fallback to the old method to create the date format, because the Intl PHP extension is not a hard requirement for the shop. Steps to reproduce: - activate a second language in a cloud shop - choose the German language - place an order - choose the English language - place another order - check the order confirmation mails in the Gambio Admin under Customers > Emails Expected behaviour: - German order confirmation mail: - -- The date in the mail subject has a German format - -- The date in the mail body has a German format - English order confirmation mail: - -- The date in the mail subject has an English format - -- The date in the mail body has an English format Actual behaviour: - German order confirmation mail: - -- The date in the mail subject has a German format - -- The date in the mail body has an English format - English order confirmation mail: - -- The date in the mail subject has a German format - -- The date in the mail body has an English format Another Test: - Choose the German language for your session in the Gambio Admin - Go to the order overview in the Gambio Admin - Choose to recreate the order confirmation from the action dropdown of the orders that were placed in the previous test Expected behaviour: - The date in the order confirmation of the English order has an English format - The date in the order confirmation of the German order has a German format Actual behaviour: - The date in the order confirmation of the English order has an English format - The date in the order confirmation of the German order has an English format Testshops: - Not fixed: https://wupdate.gambiocloud.com/ - Fixed: https://wu.gambiocloud.com/