By Christian on Thursday, 16 November 2017
Posted in General Issues
Replies 3
Likes 0
Views 700
Votes 0
Hello, In PayPlan admin panel, expiration dates for active subscription are in format "two days ago" "in about one month". I would like to replace those dates with "23.09.2017, 20:36" or "12.12.2017, 23:45"

Could you please tell me how I could modify that?

THanks in advance for your help.

Regards,

Chris
Hello,

Yes, you can do it by customizations. to change date format on Subscription page refer below mentioned steps.
Go to root/administrator/components/com_payplans/templates/default/subscription/default_grid.php, near line no 52, find below mentioned line of code

<td class="hidden-phone"><?php echo XiDate::timeago($record->subscription_date); ?></td>
<td class="hidden-phone"><?php echo XiDate::timeago($record->expiration_date); ?></td>


Replace With

<td class="hidden-phone"><?php echo $record->subscription_date; ?></td>
<td class="hidden-phone"><?php echo $record->expiration_date; ?></td>


Try this solution and let me know if still issue persist.
·
Thursday, 16 November 2017 19:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your quick feedback. It worked perfectly!!
·
Thursday, 16 November 2017 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Your Welcome
·
Thursday, 16 November 2017 20:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post