Jump to content

Pages date formatting lost since last update


Go to solution Solved by Speacy,

Recommended Posts

Posted

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?

Posted

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?

Posted
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:

Could contain: Text

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!

 

Posted
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

Posted

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

Posted

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
Posted

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^^

  • 2 months later...
Posted

@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.
 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...