Closed jojo12 closed 3 months ago
My solution is:
administrator/components/com_jem/views/events/tmpl/default.php line 158:
change from:
$displaydate = JemOutput::formatDateTime($row->dates, null, $row->enddates, null,'d.m.Y');
to:
$displaydate = JemOutput::formatShortDateTime($row->dates, null, $row->enddates, null,'d.m.Y');
is this right?
@jojo12: Now, in the events view, the Start Date column is format as JEM Setting defined in Basic Settings - Display - Format Date (short). If the Format Date (short) is empty, then the 'd.m.Y' is the default date format. See commit above. Is it right?
I think it would be better, if this is set as short format, because this is a table which needs short dates. The details view can be the long date format!
when I use your change, and the JEM setting for short date format is empty, there is a very strange thing instead of the date Anyway, if the JEM setting is empty, I get:
C+0000Apr._JEApr._April+0000RApr.AMUTC_th00+0000RUTC_DiAMUTCE
Check now the commit above
with that, when I empty the JEM setting, it's the same strange result! But why try to let it empty?
I agree with you, I get the same strange string. I have reviewed the code and there is missing string into INI to define the date format. See the commit above, and now It works.
@jojo12 I have updated the commit of this case. My events view was also affected by the error. Do you agree with the solution? It it's so, close the issue.
I agree. thanks
@mckillo: There's a post in the forum The (short) dateformat settings for backend can't be changed to m-d-y, which is used in US. This should be adapted. the author [dlborgman] says in the JEM version for Joomla 3.3 this was possible.