Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The timeago module does not change the date format:
Comment | File | Size | Author |
---|---|---|---|
#4 | enable-timeago-for-nodes-and-comments-1981762-4.patch | 1.39 KB | Devin Carlson |
Screen Shot 2013-04-28 at 17.50.09.png | 50.47 KB | Chipie |
Comments
Comment #1
WebSinPat CreditAttribution: WebSinPat commentedI might be having a similar/same problem.
I have set the timeago config to enable timeago for both nodes and comments, but I still see regular date and time format. like
i also tried selecting the 3 different types of Time elements just in case, but that has no effect either: span, abbr, time (HTML5 only)
thanks.
Comment #2
Chipie CreditAttribution: Chipie commented@WebSinPat: I have solved my problem by replacing the timeago module with an older (working) version.
Comment #3
jaxtheking CreditAttribution: jaxtheking commented@Chipie: That's right, it seems the last stable version (2.1) is working just fine while the 2.1+6-dev present in Commons 3.2 is currently not. Thanks for the tip!
Comment #4
Devin Carlson CreditAttribution: Devin Carlson commentedA patch to enable timeago for nodes and comments now that #1996706: Timeago Patch Breaks functionality is fixed.
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedTested #4 by upgrading an existing Commons site. After applying the patch and running the update function, timeago functionality was successfully added to nodes and comments.
Comment #6
Devin Carlson CreditAttribution: Devin Carlson commentedCommitted #4 to Commons Activity Streams 7.x-3.x.
http://drupalcode.org/project/commons_activity_streams.git/commit/862c46a
Comment #8
WebSinPat CreditAttribution: WebSinPat commentedI applied the patch in #4, ran update (upgraded jquery.timeago.js as prompted by update script) and I still am not getting timeago format. oh and cleared caches a number of times.
Anyone else try this patch out and got it to work??
Otherwise, i'm not sure what other configuration is needed that i might be missing?
Comment #8.0
WebSinPat CreditAttribution: WebSinPat commentedattached screenshot