Identify errors in autogenerating translations for times #30

Closed
opened 2025-04-04 19:38:23 +02:00 by jrenslin · 0 comments
Owner

We currently have a bug in case of some autogenerated time translations: Seemingly depending on the time zone, some languages will move between years from 1912 to 1913 or such (it's consistent, but we still have not managed to identify why it happens or how to solve it; Once we moved to PHP's datetimeimmutable, the error appeared).

We can catch some of the errors and work around them if we check if the time begin and end years are contained in the translation string. This works for almost all languages, that use latin numbers.

We currently have a bug in case of some autogenerated time translations: Seemingly depending on the time zone, some languages will move between years from 1912 to 1913 or such (it's consistent, but we still have not managed to identify *why* it happens or how to solve it; Once we moved to PHP's datetimeimmutable, the error appeared). We can catch some of the errors and work around them if we check if the time begin and end years are contained in the translation string. This works for almost all languages, that use latin numbers.
jrenslin added the
kind/feature
label 2025-04-04 19:38:23 +02:00
jrenslin self-assigned this 2025-04-04 19:38:23 +02:00
Sign in to join this conversation.
No Label
kind/feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: museum-digital/MDNodaHelpers#30
No description provided.