Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Speacy Posted November 7, 2022 Posted November 7, 2022 Hello, Since last update (and OS change from debian 9 to debian 11 for php8 support) the "date" fields in pages module seems to be not affected by french date formatting dd/mm/YY applied on others IPB modules and stay to mm/dd/YY MISREP - 355th Virtual Fighter Wing i searched to "traduction" fields to find it but without success. Any idea?
Marc Posted November 7, 2022 Posted November 7, 2022 Which dates is it you are looking at these? I ask as Im seeing a date on there in yellow, which I believe may be the ones you are referring to? These are indeed showing dd/mm/yyyyy on this end Ignore the above, that was incorrect. Could I ask, have you tested this on a new language pack and translated there?
Meddysong Posted November 7, 2022 Posted November 7, 2022 1 minute ago, Marc Stridgen said: Which dates is it you are looking at these? I ask as Im seeing a date on there in yellow, which I believe may be the ones you are referring to? These are indeed showing dd/mm/yyyyy on this end They're not, @Marc Stridgen: Since these are new posts, you should be reading them as November 6 rather than than June 11. I instinctively just made the same mistake! Speacy 1
Marc Posted November 7, 2022 Posted November 7, 2022 19 minutes ago, Meddysong said: you should be reading them as November 6 rather than than June 11. I instinctively just made the same mistake! I dont feel as daft now 😄 Speacy and Meddysong 2
Speacy Posted November 7, 2022 Author Posted November 7, 2022 1 hour ago, Marc Stridgen said: Which dates is it you are looking at these? I ask as Im seeing a date on there in yellow, which I believe may be the ones you are referring to? These are indeed showing dd/mm/yyyyy on this end Ignore the above, that was incorrect. Could I ask, have you tested this on a new language pack and translated there? I tried, but its seems last french language pack is outdated ( ipb 4.5), i also tried to find the relevant field in english US native language pack to manually format but even with "_date" key i didnt find it
Marc Posted November 8, 2022 Posted November 8, 2022 You would need to contact the author of your language pack for an updated version in this case. Unfortunately, we are unable to assist with custom language packs, and even taking a quick look, it seems its quite out of date there
Meddysong Posted November 8, 2022 Posted November 8, 2022 I don't know whether this is related but I noticed on my own site that there had been some new translations of language strings for dates recently. There are four in total, each starting date_this (date_this_week, etc). Perhaps have a look at those, @Speacy, to see whether they fix the problem.
Solution Speacy Posted November 10, 2022 Author Solution Posted November 10, 2022 Thanks for your help, Its solved, was not the IPB upgrade but the Debian upgrade, on server side my locale fr_FR.UTF-8 was not installed. Have a good day^^
Marc Posted November 10, 2022 Posted November 10, 2022 Excellent. Thank you for letting us know. Glad to hear you are sorted out
DSystem Posted February 7, 2023 Posted February 7, 2023 @fala @Marc Stridgen I had the same problem here! Glad I found this thread and it made the solution easier. 👍 Some observations: - The date was wrong on every platform. Not only from the Pages module - I installed the locale pt_BR.UTF-8 and it worked perfectly with the date in DD/MM/YYYY format - I believe that the date format in the IPS did not depend on some server configuration. I have Wordpress and Prestashop on the same server and it was not affected by the lack of the pt_BR.UTF-8 locale My forum works in English, Spanish and Portuguese. But when I change the language from Portuguese to English the date remains in the DD/MM/YYYY format. Is this behavior expected? I believe that the date format would have to follow the language in use.
Marc Posted February 7, 2023 Posted February 7, 2023 Thank you for your feedback 🙂 Community based support for the win 🙂
Recommended Posts