When user tries to extend expired node, its expiration time is calculated starting from expiration date, but not from current date.
For example:
If my expiration period is 2 days and node expired 5 days ago, I have to extend it minimum 3 times to return it into not expired state.
It would be good if expiration time be calculated with offset from current date.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | auto_expire-237450-2.patch | 736 bytes | CoPut |
Comments
Comment #1
mariuss commentedComment #2
CoPut commentedNode expiration date is calculating from current date now.
Comment #3
marcvangendI agree, the new expiry date of an expired nodes should be calculated as now + $days. However I think that nodes that have not yet expired, should still be calculated as expire + $days, otherwise, the user 'loses' a couple of days when he extends before the expiry date. I intend to implement this behavior in the upcoming D6 version.
Comment #4
xamountsubscribe.
Also when will the drupal version 6 be ready?
Comment #5
xamountpatch tested...looks good to be committed to version 5 at least.
Comment #6
marcvangendCommitted to the Drupal5 branch, still to be ported to D6.
Comment #7
marcvangendincluded 6.x-1.0-rc1.