- Posts: 5
- Thank you received: 0
All questions about EDocman extension
Change dates format on document details
- netenvie
- Topic Author
- Offline
- New Member
Less
More
12 years 8 months ago - 12 years 8 months ago #15019
by netenvie
Change dates format on document details was created by netenvie
Hi,
As said in title my goal is to change date format in document details view ...
I have look in configuration where there is a date format field but it don't change the way date are displayed in document details ...
Some idea to do that ?
Using Edocman 1.05 on Joomla 2.5.
Regards.
As said in title my goal is to change date format in document details view ...
I have look in configuration where there is a date format field but it don't change the way date are displayed in document details ...
Some idea to do that ?
Using Edocman 1.05 on Joomla 2.5.
Regards.
Last edit: 12 years 8 months ago by netenvie.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 8 months ago #15020
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Change dates format on document details
Right now, the date format is hardcoded . You can look at the file administrator/components/com_edocman/helpers/file.class.php, find the line of code :
Change the date format to the format you want .
Regards,
Tuan
Code:
return strftime( "%A %B %d, %Y %H:%M:%S", $date + ($offset*60*60) );
Change the date format to the format you want .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- netenvie
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
12 years 8 months ago - 12 years 8 months ago #15021
by netenvie
Replied by netenvie on topic Re: Change dates format on document details
Ok. It work fine. Thx.
But i think it should be great to have this in configuration.
Because next component update will overwrite my changes ...
Regards.
But i think it should be great to have this in configuration.
Because next component update will overwrite my changes ...
Regards.
Last edit: 12 years 8 months ago by netenvie.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 8 months ago #15022
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Change dates format on document details
The date format will be a config option in the next release .
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.