When the recent blocks are in a sidebar, it can be difficult to fit the full time display that's there. In our case, we are adjusting it to only display times with a granularity of 1. That means the times are shown as "1 day" instead of "1 day 3 hours" for example, or "4 hours" instead of "4 hours 34 minutes." I thought this would make a good admin option, so I added it as an option to configure each recent block created, with how it will display dates, to what granularity.
Please see the attached patch for the adjustments I made to recent_blocks.module to accomplish this.
| Comment | File | Size | Author |
|---|---|---|---|
| recent_blocks-granularity.patch | 2.77 KB | nschelly |
Comments
Comment #1
nschelly commentedI suspect I set the status wrong... switching it to "code needs review")
-N
Comment #2
frank ralf commentedNo maintenance anymore for Drupal 5. But keeping an eye on this issue whether its relevant for other releases as well.
Comment #3
duaelfrThis version of Recent Blocks is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.