[buddypress-trac] [BuddyPress Trac] #5757: Add a "data-timestamp" attribute to all templates requiring timestamps

buddypress-trac noreply at wordpress.org
Wed Aug 10 12:55:50 UTC 2016


#5757: Add a "data-timestamp" attribute to all templates requiring timestamps
-------------------------------------------------+-------------------------
 Reporter:  r-a-y                                |       Owner:  r-a-y
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  2.7
Component:  Core                                 |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback i18n-change   |
  early commit                                   |
-------------------------------------------------+-------------------------
Changes (by djpaul):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11008"]:
 {{{
 #!CommitTicketReference repository="" revision="11008"
 Fix inaccurate timestamps caused by page caching.

 If any template with a timestamp is statically cached, then the timestamps
 quickly become inaccurate.
 The change adds livestamp.js and moment.js to dynamically update
 timestamps with the real relative time.

 A consequence is that the labels surrounding the timestamps, notably in
 our widgets, have slightly changed.
 We're going to keep an eye on this for the remainder of the 2.7
 development cycle, and may make further adjustments as testing proves
 necessary.

 Fixes #5757

 Props r-a-y, imath, DJPaul
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5757#comment:28>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list