Projekt

Allgemein

Profil

Aktionen

GX-Bug #67951

geschlossen

On some servers the long date can be displayed with the wrong locale format | Auf manchen Servern werden ausgeschriebene Datumsangaben in der falschen Sprache angezeigt

Von Daniel Wu vor mehr als 3 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Kategorie:
Core
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
Unbestimmt
Release Notes Langtext:

Die Bestellbestätigung hat nun das richtige Datumsformat, je nach gewählter Sprache bei der Bestellung


Beschreibung

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:


Aktionen #1

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #2

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

Aktionen #4

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

Aktionen #5

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

Aktionen #6

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an Daniel Wu wurde gelöscht
  • Zielversion wurde von 133 zu 4.3.2.0 beta1 geändert
Aktionen #8

Von Daniel Wu vor mehr als 3 Jahren aktualisiert

  • Thema wurde von On some servers the long date format can be displayed in the wrong language | Auf manchen Servern werden ausgeschriebene Datumsangaben in der falschen Sprache angezeigt zu On some servers the long date can be displayed with the wrong locale format | Auf manchen Servern werden ausgeschriebene Datumsangaben in der falschen Sprache angezeigt geändert
Aktionen #9

Von Ahmed Hamouda vor mehr als 3 Jahren aktualisiert

  • Zugewiesen an wurde auf Ahmed Hamouda gesetzt
Aktionen #10

Von Ahmed Hamouda vor mehr als 3 Jahren aktualisiert

  • Zugewiesen an wurde von Ahmed Hamouda zu Moritz Bunjes geändert
Aktionen #11

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

  • Zugewiesen an wurde von Moritz Bunjes zu Core-Entwickler geändert

I did a test before the merge and it was successful.

Aktionen #12

Von Anis Mashku vor mehr als 3 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
  • Zugewiesen an wurde von Core-Entwickler zu Anis Mashku geändert
Aktionen

Auch abrufbar als: Atom PDF