Wrong date format

0

I have a somewhat annoying problem and I have no idea where to go to solve or how to solve, it comes down to the following: The date on a system I'm modifying does not show in the view correctly.

It looks like this:

0404/0606/2018181818 9:56:19 AM

Where should I show:

04/06/2018 9:56:19 AM

I have noticed that codeigniter has a helper that formats dates, but I can not identify the error and I do not know if the error comes from there, because I could not identify where the "constructor" dates are in the code being studied (I think which is not the case, if I post the excerpt), but as all dates are shown in the same way, I imagine that it should be starting from some point in common.

example image (so it is currently in all system locations):

Any ideas?

    
asked by anonymous 04.06.2018 / 15:03

1 answer

1

Resolved

As noted in the comments the problem was not in the lines of code itself. Seeing date_helper.php and taking into account what was suggested in the comments of the question, I saw that the system was already prepared for date and time treatment in all formats and in a very systematic way.

It turned out that the system has a configurations section where the date and time form is set, where I applied what was suggested and worked perfectly.

Error:

Solution:

    
04.06.2018 / 15:40