Projet

Général

Profil

Actions

Anomalie #1714

fermé

Wrong date format on some languages

Ajouté par Johan Cwiklinski il y a 7 mois. Mis à jour il y a 7 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
I18n
Version cible:
-
Début:
03/10/2023
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

Some languages fail on searching dates (tested on BR and OTA - at least). Maybe a translation issue?

I'll take an eye to add a test for a date search on all langs so we can detect this kind of issues.

I have no ieade if it's on 1.0.x or if it was already present before.

Mis à jour par Johan Cwiklinski il y a 7 mois

Problem here is a possible gap between FUI date picker and PHP date formats translations...

In PHP, we expect a date formatted like Y-m-d and for FUI we expect YYYY-MM-DD.
Most of existing translation already have PHP format translated, as d.m.Y in OTA for example, but new FUI string was not translated, or not correctly (here, we must have DD.MM.YYYY as FUI translation) :(

I've added instruction on translation platform and manually fixed all issues I've seen; but I cannot add tests on that part (or using things like phantom - but I have many issues with JS elements trying to implement that on another project). I currently have no idea how to prevent this kind of issues.

Mis à jour par Johan Cwiklinski il y a 7 mois

  • Sujet changé de Wrong date format son some languages à Wrong date format on some languages

Mis à jour par Johan Cwiklinski il y a 7 mois

  • Statut changé de Nouveau à Fermé
  • % réalisé changé de 0 à 100

Johan Cwiklinski a écrit (#note-1):

I've added instruction on translation platform and manually fixed all issues I've seen; but I cannot add tests on that part (or using things like phantom - but I have many issues with JS elements trying to implement that on another project). I currently have no idea how to prevent this kind of issues.

I guess I should probably not do more; I'll have to check translations (but this is already the case for strings with replacements, or even dates).

Actions

Formats disponibles : Atom PDF