Jump to content

Featured Replies

Posted

In Events/Settings, a custom date format can be created using PHP strftime options. PHP advises that strftime is deprecated as of PHP 8.1.0

Will this capability be updated?

Solved by Jim M

Go to solution
  • Solution

You can have your PHP configuration ignore deprecation warnings. It is not going to impact functionality of the current software on PHP 8.0 or 8.1.

Version 5 is compatible with PHP 8.2+ and be updated to handle any final removals as PHP does.

  • 3 weeks later...

Hello, how to change date format in general in IPS suite ?

34 minutes ago, Janyour said:

Hello, how to change date format in general in IPS suite ?

Date formats are based upon your language locale set in ACP -> Customization -> Languages.

3 hours ago, Jim M said:

Date formats are based upon your language locale set in ACP -> Customization -> Languages.

Screenshot at 2025-02-14 21:50:22.png

translated it looks like this:

Screenshot at 2025-02-14 21:56:47.png

These language strings output in e.g. calendar day: month day year and in language pack exist only with %s %s, %s

How should this format be changed to display:

day month year?

18 minutes ago, Adlago said:

Screenshot at 2025-02-14 21:50:22.png

translated it looks like this:

Screenshot at 2025-02-14 21:56:47.png

These language strings output in e.g. calendar day: month day year and in language pack exist only with %s %s, %s

How should this format be changed to display:

day month year?

That is an exception to the above where it is a language string and not a date being evaluated.

4 minutes ago, Jim M said:

That is an exception to the above where it is a language string and not a date being evaluated.

I've written about this in 4.x and in beta tests - and there's no solution... I don't see the point in opening a new topic - because it will just flow into the stream...

19 minutes ago, Adlago said:

I've written about this in 4.x and in beta tests - and there's no solution... I don't see the point in opening a new topic - because it will just flow into the stream...

We certainly appreciate your feedback. However, please note that while we do review all feedback, not all feedback will be included immediately or at all. Even if we choose not to include your feedback as described or at all, does not mean it goes unheard or influence something else.

2 hours ago, Adlago said:

Screenshot at 2025-02-14 21:50:22.png

translated it looks like this:

Screenshot at 2025-02-14 21:56:47.png

These language strings output in e.g. calendar day: month day year and in language pack exist only with %s %s, %s

How should this format be changed to display:

day month year?

You can control the order of the sprintf replacements. Try changing the language string from:

%s %s, %s

to:

%2$s %1$s, %3$s

Adding the number followed by the dollar symbol, you can reorder things. The normal output is:

  1. Month

  2. Day

  3. Year

So moving %2$s at the start, it means the day is inserted first.

55 minutes ago, teraßyte said:

You can control the order of the sprintf replacements. Try changing the language string from:

%s %s, %s

to:

%2$s %1$s, %3$s

Adding the number followed by the dollar symbol, you can reorder things. The normal output is:

  1. Month

  2. Day

  3. Year

So moving %2$s at the start, it means the day is inserted first.

You are golden!!!

Thank you so much!

Hello, i tried many combinations but i cant show DD MM YYYY on Commerce app, i always have this :

image.png

Recently Browsing 0

  • No registered users viewing this page.