Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 7, 20222 yr 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?
November 7, 20222 yr Community Expert 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?
November 7, 20222 yr 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!
November 7, 20222 yr Community Expert 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 😄
November 7, 20222 yr Author 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
November 8, 20222 yr Community Expert 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
November 8, 20222 yr 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.
November 10, 20222 yr Author Solution 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^^
November 10, 20222 yr Community Expert Excellent. Thank you for letting us know. Glad to hear you are sorted out
February 7, 20232 yr @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.
February 7, 20232 yr Community Expert Thank you for your feedback 🙂 Community based support for the win 🙂