Bug #776
Forum Autodate
| 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
but if you later change use_autodate to Y on advanced setup and add a new post
one post uses autodate and another not.
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.

autodate($post["date"])
So...its possible that is a bug of autodate?
History
Updated by Sein Kraft 40 days ago
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";
