2009-01-01, 10:29 PM
(2009-01-01, 10:22 PM)okitai Wrote: [ -> ](2009-01-01, 06:25 PM)I Wrote: [ -> ]Is there a way to "pretty up" the time stamp? If the time is longer then 24 hours, I get something like "Yesterday 12:01". Is there a way to turn it to (for ex.) "Yesterday, at 12:01"?
Please reply. This is, somewhat, important.
Ori...
Yeah. This could be done. Open inc/functions.php
Find following:
if($todaysdate == $date)
{
$date = $lang->today;
}
else if($yesterdaysdate == $date)
{
$date = $lang->yesterday;
}
Replace with following:
if($todaysdate == $date)
{
$date = $lang->today.", at ";
}
else if($yesterdaysdate == $date)
{
$date = $lang->yesterday.", at ";
}
That's all.
Modification updated!