Page 1 of 1

Modification Date

Posted: 18 Sep 2019, 11:50
by gena.sim69
Tell me where you can fix the output of the modification date format?
My date is displayed like this:
Date: 12. Sep 2019

Must be: 12 September 2019

Example: https://cashfront.net/en/download/categ ... l-business

Re: Modification Date

Posted: 19 Sep 2019, 14:09
by Kostelano
You probably have a constant overridden DATE_FORMAT_LC3.

Default constant:

Code: Select all

DATE_FORMAT_LC3="d F Y"
displays the date as you need: 12 September 2019.

Check file with constant:
SITE/language/en-GB/en-GB.ini or override the constant in the admin panel.

Re: Modification Date

Posted: 19 Sep 2019, 15:57
by gena.sim69
Thanks for the advice. But there I have it right.
DATE_FORMAT_LC="l, d F Y"
DATE_FORMAT_LC1="l, d F Y"
DATE_FORMAT_LC2="l, d F Y H:i"
DATE_FORMAT_LC3="d F Y"
DATE_FORMAT_LC4="Y-m-d".......
Here it is necessary to check in the component, probably.
https://cashfront.net/images/tmp/cf1909.jpg

Re: Modification Date

Posted: 19 Sep 2019, 19:41
by Kostelano
Temporary solution.
You can manually make changes, but after the update you will have to repeat the procedure.

In administrator/components/com_phocadownload/libraries/phocadownload/file/file.php to find:

Code: Select all

public static function getFileTime($filename, $function, $format = "d. M Y") {
And replace the date format in the string with:

Code: Select all

d F Y

Re: Modification Date

Posted: 20 Sep 2019, 07:55
by gena.sim69
This is what I need. Thank you very much!

Re: Modification Date

Posted: 17 Apr 2020, 22:39
by Jan
Hi, changed to: DATE_FORMAT_LC3 in version 3.2.0

https://www.phoca.cz/news/1072-phoca-do ... 0-released

Jan