I’m just wondering is there an advanced option which can be enabled to replace ‘one hour ago, xx hours ago’ with the precise timestamp of each visit?
Many thanks.
Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!
I’m just wondering is there an advanced option which can be enabled to replace ‘one hour ago, xx hours ago’ with the precise timestamp of each visit?
Many thanks.
No, you would need to modify Mint’s formatDateTimeRelative function.
Thanks Till. Is this is a simple modification which basically would mean replacing the current function with a different one?
If so, is there anyone who might be knowledgeable to assist me by providing the code to replace?
Yes, but you need to apply such a “patch” after every Mint update.
function formatDateTimeRelative($time) {
return date('r', $time);
}
Thanks Till, once again. I replaced the code in mint.php and it works.
Probably a small request, is it possible to have the precise time to appear in a tooltip when the relative time is hover upon?
You must be logged in to reply. Login above or create an account