Welcome
To join our community, please login or register!
Internet Explorer
Internet Explorer is not supported. Please upgrade to a more modern browser.

Complete Posts from 1 hour say "1 hours"
Started by Zxyr

This may not be possible to correct but it's just an observation :P

Psudocode:

$time = get time;
$posttime = #open file and get time;
$postage = $time = $posttime;
#break time into seconds minuts hours days weeks months and whetever else
#break posttime into seconds minuts hours days weeks months and whetever else
#get the postage simplified
$postagemsg = "This was posted".$postage." hours ago";
if not $postime > 1;
   $postagemsg = "This was posted".$postage." hour ago."
echo "Posted ".$postagemsg;

It would only really add two lines per variable using this exception overwrite method.

Reported this to the plugin author.  Locking this thread now as considered in progress, progress available at the link below;

https://github.com/NamelessMC/Nameless/issues/435

Locked.

Update: this has been implemented.  Changes will be seen at the next update.

The website has been updated, this has been completed.