Bug #776

avatar

Forum Autodate

Added by Sein Kraft 40 days ago. Updated 11 days ago.

Status:Resolved Start:10/11/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:third party extensions
Target version:2.3

Description

If you realize a post when autodate is dissabled appears
on September 9, 2009

but if you later change use_autodate to Y on advanced setup and add a new post
one post uses autodate and another not.

See screenshot.

And the db table of posts is never afected by the autodate. The ext only uses: [line 144]
autodate($post["date"])

So...its possible that is a bug of autodate?

History

Updated by Sein Kraft 40 days ago

avatar

Also happends on whole system.

Maybe this change is the problem.

71999a30

Updated by Sein Kraft 40 days ago

avatar

Is not a bug _, autodate only works for 4 weeks.

If the date is bigger that 4 weeks ago the autodate doesn't work anymore and that is really a problem.
It could be good extend autodate to shows months and years.

if ($diff<60) return $diff . " second" . plural($diff) . " ago"; $diff = round($diff/60);
if ($diff<60) return $diff . " minute" . plural($diff) . " ago"; $diff = round($diff/60);
if ($diff<24) return $diff . " hour" . plural($diff) . " ago";   $diff = round($diff/24);
if ($diff<7)  return $diff . " day" . plural($diff) . " ago";    $diff = round($diff/7);
if ($diff<4)  return $diff . " week" . plural($diff) . " ago";   $diff = round($diff/4);
if ($diff<12)  return $diff . " month" . plural($diff) . " ago"; $diff = round($diff/12);
if ($diff<100)  return $diff . " year" . plural($diff) . " ago";

Updated by Shish Moom 11 days ago

avatar
  • Status changed from New to Resolved

ab4f69e adds months and years

7a46a9a adds an HTML tooltip with the exact date in

Also available in: Atom PDF