[buddypress-trac] [BuddyPress Trac] #5757: Add a "data-timestamp" attribute to all templates requiring timestamps
    buddypress-trac 
    noreply at wordpress.org
       
    Thu Sep 10 15:28:46 UTC 2015
    
    
  
#5757: Add a "data-timestamp" attribute to all templates requiring timestamps
------------------------------+-----------------------------
 Reporter:  r-a-y             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |
------------------------------+-----------------------------
Comment (by DJPaul):
 It is possible to load translations into MomentJS via wp_localize_script,
 I've done that before. I found it preferable because the version of
 MomentJS that comes with the locales is all concatenated into one file
 (http://momentjs.com/downloads/moment-with-locales.js) ; the translations
 would add about 30kb to each page load where we enqueued MomentJS,
 regardless of what langauage is/isn't used.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5757#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list