0
I have a problem and I have no idea how to solve, it is the following: The date on a system I am modifying does not show in View
correctly.
Is this way:
0404/0606/2018181818 9:56:19 AM
Where should I show:
04/06/2018 9:56:19 AM
I’ve noticed that codeigniter has a helper that formats dates, but I can’t identify the error and I don’t know if the error comes from there, because I couldn’t identify where is the "constructor" of the dates in the code being studied (I think it’s not even the case, if I put the excerpt)but since all dates are shown in the same way, I imagine it must be starting from some common point.
example image (so it is at the moment, at all sites of the system):
Any idea?
post your code. But possibly you would only need to put something like
d-m-yy
and is usingdd-mm-yyyy
– rLinhares
Your comment was very enlightening. In fact the format is being managed by the application itself in a menu of its own, I changed the settings to what was suggested and worked perfectly. Thank you very much :D
– Silvio Santos
still suggest you put the part of the code that was incorrect in the question; if it is the case, add also an answer with the solution to be marked as correct so that the question is not open.
– rLinhares
on the question I believe I have no way because of the reputation :s but I will add an answer with the solution.
– Silvio Santos
can yes, you edit your own question. But if you can’t, you put error and solution in the answer ;)
– rLinhares
turned out I could not, to getting the way yet xD already published the solution, thank you very much for the help :)
– Silvio Santos
blz. Then mark it as correct and it’s all right ;)
– rLinhares