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
Modification Date
- Kostelano
- Phoca Member
- Posts: 45
- Joined: 23 May 2019, 20:47
Re: Modification Date
You probably have a constant overridden DATE_FORMAT_LC3.
Default constant:
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.
Default constant:
Code: Select all
DATE_FORMAT_LC3="d F Y"
Check file with constant:
SITE/language/en-GB/en-GB.ini or override the constant in the admin panel.
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Sep 2019, 11:43
Re: Modification Date
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
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
- Kostelano
- Phoca Member
- Posts: 45
- Joined: 23 May 2019, 20:47
Re: Modification Date
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:
And replace the date format in the string with:
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") {
Code: Select all
d F Y
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Sep 2019, 11:43
Re: Modification Date
This is what I need. Thank you very much!
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modification Date
Hi, changed to: DATE_FORMAT_LC3 in version 3.2.0
https://www.phoca.cz/news/1072-phoca-do ... 0-released
Jan
https://www.phoca.cz/news/1072-phoca-do ... 0-released
Jan
If you find Phoca extensions useful, please support the project