Identify errors in autogenerating translations for times #30
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.